Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ann Ann is offline
external usenet poster
 
Posts: 1
Default ddeinitiate Hangs

On a certain pc i have problems starting, it always
blocks:
I have the problem when i start it from within excel as
well as when i start it from within visual basic.

Can somebody help me?

intChan1 = DDEInitiate("Winword", "System") '
Establish link.
If Err Then ' If error
occurs, Excel may
Err = 0 ' not be
running. Reset error
Shell "C:\Programfiles\office\winword.exe",
1 ' and start spreadsheet.
If Err Then Exit Sub ' If another
error, exit.
' Establish Spreadsheet link.
intChan1 = DDEInitiate("winword", "System")
End If

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
Excel Hangs Linda Excel Discussion (Misc queries) 2 October 4th 05 04:36 PM
DDEInitiate to MSAccess problems Grant Excel Programming 0 September 2nd 04 01:17 AM
DDEInitiate hangs Ann Excel Programming 1 August 6th 04 04:58 PM
Excel VBD DDEInitiate problem bbombardier Excel Programming 2 April 22nd 04 05:22 PM
DDEInitiate with Notepad Kevin Excel Programming 4 October 15th 03 08:35 PM


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

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"