ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DDE startup hangs (https://www.excelbanter.com/excel-programming/316314-dde-startup-hangs.html)

amac

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?




All times are GMT +1. The time now is 06:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com