WD2000: How to Force User to Enter Data into a Form Field (233228)
The information in this article applies to:
This article was previously published under Q233228 SUMMARY
This article demonstrates a sample Visual Basic for Applications macro you can adapt to your form document to force a user to enter text into a text form field. When the user enters a form field, the macro runs and checks the value of the previous form field. If the previous form field does not contain any data, the macro forces the user back to the form field that requires data entry.
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
For more information about form fields, click Microsoft Word Help on the
Help menu, type form fields in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB233228 |
---|
|