WD97: VBA Function to Check Whether File or Document Is Open (184982)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q184982 SUMMARY
When you write Microsoft Visual Basic for Applications macros or routines,
you may need to test whether another process already opened a file before
you perform any operations on the file. This article contains a sample macro
and function to test the current access status of a file or document.
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB184982 |
---|
|