View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JessicaRowe JessicaRowe is offline
external usenet poster
 
Posts: 2
Default Evaluating a DDE formula created by strings

Hello! This is a very frustrating problem I have been working on for
quite some time and have not been able to come up with a solution.

As you know, DDE formulas are in the form: =APP|TOPIC!'FIELD'

My initial problem is that I can't use cell referencing in these DDE
formules (eg. =APP|TOPIC!'A1' will try to retrieve the piece of data
called A1 rather than pick up the contents of the cell A1.

So then I tried to use a VBA solution by creating a function like so
(off the top of my head):

Function GetValue(App as String, Topic as String, Field as String) As
String