Documents.Open Causes Terminating Error

G

George Lee

The following Open code generates a hard kind that terminates the application
and never gets trapped. It shows up only on Windows 2000 or Word 2000 and is
fine on XP or later (and is developed on Windows XP with Word 2003).

Dim wordApp As Word.Application
Set wordApp = New Word.Application
wordApp.Documents.Open "d:\some_file_name"

Is there a reason for this? What is the work around?
 
W

Word Heretic

G'day "George Lee" <[email protected]>,

If Tasks("Word.exe").Exists then 'reuse it

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


George Lee reckoned:
 
Top