DDE and Application.Caller

Joined
Oct 18, 2007
Messages
1
Reaction score
0
Hi, I need to track updates from a DDE server. The cells get values for each stock by this formula:
Code:
=FTW_OPUB|'FW_OPUB:m_CURRENCY'!'STOCK'
where STOCK is a particular stock.

As Worksheet_Change does not capture changes from DDE, I tried doing this on load:

Code:
ActiveWorkbook.SetLinkOnData "FTW_OPUB|'FW_OPUB:m_CURRENCY'!", "Test"

and then I try:

Code:
Sub Test()
 
 Debug.Print Application.Caller.Address
 
 End Sub


The problem is that Excel raises Error 424 - Object required... I suspect SetLinkOnData does not pass Application.Caller data. If this is correct, how could I get the cell that had its value updated?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top