LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default DDE startup hangs

Hello,

In my program i have the following statements:
excelpath = "c:\msoffice\office\Excel.exe"
Z = Shell(excelpath, 1) ' Start Microsoft Excel.
If Err.Number Then Exit Sub
ExcelLink.LinkTopic = "Excel|System" ' Set link topic.
ExcelLink.LinkItem = "R1C1" ' Set link item.
ExcelLink.LinkMode = 2 'vbLinkManual ' Set link mode.
After those statements other things are done in Excel.


Normally this works fine, but on one specific computer it hangs.
When I manually start excel then the rest of the program is executed normally.

Systeminformation: Windows XP SP1 and excel 2002.

Can somebody help me to solve this problem?


 
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
hangs when connected Gerhard Adendorff Excel Discussion (Misc queries) 0 April 13th 07 06:56 AM
Excel hangs up. bc Excel Discussion (Misc queries) 0 February 28th 06 06:30 PM
Excel Hangs Linda Excel Discussion (Misc queries) 2 October 4th 05 04:36 PM
Worksheet hangs Robert Excel Discussion (Misc queries) 2 March 14th 05 06:21 AM
DDEInitiate hangs Ann Excel Programming 1 August 6th 04 04:58 PM


All times are GMT +1. The time now is 04:41 PM.

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

About Us

"It's about Microsoft Excel"