#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DDE link

I'm useing DDE to obtain some data from a program via VBE(code below).

activecell = "=metalink|read.csc!'hobby\dcp1-f'"

When this is ran it brings back a number however sometimes it brings back a
"#N/A".
If this is done with step Into and the "#N/A" comes up, I just wait a few
seconds before pressing F8 again and the data has time to be returned.
However when running the macro normally the data does not seem to have time
to return.

is there any way to pause and give the DDE time to return data?

thanks for any help. Darron


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default DDE link

Look in Excel VBA help at the Wait command. As I recall, it allows a process
like DDE to continue.

--
Regards,
Tom Ogilvy


"Darron" wrote:

I'm useing DDE to obtain some data from a program via VBE(code below).

activecell = "=metalink|read.csc!'hobby\dcp1-f'"

When this is ran it brings back a number however sometimes it brings back a
"#N/A".
If this is done with step Into and the "#N/A" comes up, I just wait a few
seconds before pressing F8 again and the data has time to be returned.
However when running the macro normally the data does not seem to have time
to return.

is there any way to pause and give the DDE time to return data?

thanks for any help. Darron


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PASTE LINK option not available when I select PASTE SPECIAL to link an image in Excel to a Word document. tln Links and Linking in Excel 0 April 22nd 07 04:28 PM
if i sort cell that has link to another page how to keep link steve Bahrain Excel Discussion (Misc queries) 1 August 16th 06 01:20 PM
if i sort cell that has link to another page how to keep link steve Bahrain Excel Discussion (Misc queries) 0 August 16th 06 07:37 AM
Link to external link Chris Wong Excel Worksheet Functions 0 August 3rd 06 07:00 AM
Q: Changing a link without link validation Mike Frederick Excel Programming 3 December 2nd 03 11:02 PM


All times are GMT +1. The time now is 09:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"