|
-
Feb 3rd, 2000, 05:04 PM
#1
Thread Starter
New Member
I'm looking for a way to look for open Word docs from VB. I have a program that opens and closes word documents, and at times I need to make sure there are no open docs before triggering an event. I tried simply using appWord.Documents.Close, but Word doesn't like that if the open document is not the Active document.
The main problem is when I try to open a document that is already opem, I get an error telling me that the file is already in use.
I guess I could trap this error, if I knew it's number...
Thanks,
WillP
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|