Page 1 of 1

'Unknown name' error when inserting a DDE link

Posted: Tue Jan 06, 2009 12:50 pm
by tgr
Hi,

I am trying to insert a DDE link in my Excel sheet with this code:

XLS.Sheets[0].AsFormula[Col, Row] := Format('%s|%s!''%s''', [DdeServer, DdeTopic, DdeItem]);

But this results in an 'Unknown name' error message.
What do I need to do to fix this?

Thanks, Trond