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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top