September 2001
Beginner
528 pages
11h 59m
English
To end this chapter, we will take a look at a User Form demonstration. This is a relatively simple form, but it makes use of almost all the important techniques that are required to get the most from User Forms. The form is intended to gather some information from the user: name, gender, and some favorite foods. Code in the form makes sure that the name and gender information was in fact entered. Following are instructions for creating the form, and for creating a procedure that uses the form and retrieves its data:
1. | Use the Insert, User Form command to add a new User Form to your VBA project. |
2. | Change the User Form's Name property to “DemoForm” and its Caption property to “Demonstrating a User Form.” Change the ... |
Read now
Unlock full access