WD2000: How to Keep OnEntry Macro from Running at Document Open (201995)
The information in this article applies to:
This article was previously published under Q201995 SUMMARY
When you use form fields in Word and you have assigned an OnEntry macro to the first form field in a document, the OnEntry macro automatically runs when the document first opens.
This article contains a sample Microsoft Visual Basic for Applications macro (Sub procedure) that can be used to work around this issue.
REFERENCES
For additional information about running sample code, please see the following article in the
Microsoft Knowledge Base:
ARTICLE-ID: 212536
TITLE : WD2000: How to Run Sample Code from Knowledge Base Articles
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbmacroexample kbProgramming KB201995 |
---|
|