WD97: How to Force a User to Enter Data into a Form Field (233230)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q233230 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:
173707
OFF97: How to Run Sample Code from Knowledge Base Articles
For more information about form fields, click the Office Assistant, type form fields, click Search, and then click to view "form fields."NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, click the article number below to view the article in the Microsoft Knowledge Base: 120802 Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbinfo kbProgramming KB233230 |
---|
|