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]
