look at the INDIRECT() function
Thanks for the suggestion.
I tried that. It works if I need to change which sheet I am referencing, but I need to change the source tag in a DDE call. In this case, I cannot get the INDIRECT() function to work.
Just curious: What are the values in the other cells that you want to use to build a formula? And how should the latter look like?
Aladin
I am trying to retrieve values from another app via DDE. The formula will look like :
APP|Document!DataPoint
The Datapoint is dynamic. It is actually an array like this: Timestamp[0], Timestamp[1] etc.
This does not work: APP|Document!Timestamp[A1] where A1 would be the array index (0, 1, etc).
Patrick: I'm not sure I can help you, but still curious about the problem.
As I understand it, you seem to get data from some app into an Excel sheet. A formula on the sheet must induce the app to send in data thru DDE. The data is apparently an array to which the name Datapoint is referring. The formula that will do it, as you seem to imply, is
=APP|Document!DataPoint
How does this formula behaves? Is this the formula that you want to build? From what?
Aladin
I'm a bit confused about the fact that you report another formula that doesn't work.