Microsoft Office Tutorials and References
In Depth Information
Adding Controls to a UserForm
The control(s) you place onto your UserForm will depend on its purpose. If you want to design a
simple form to gather employee information for your company, you’d at least want to know the
employees’ names and their titles. It would be useful to display a TextBox to enter the employee
name, and then a list of the company’s position titles so the user can effortlessly select one.
Figure 18-8 shows the Toolbox with the mouse hovering over the Label control icon.
You place a control onto your UserForm by drawing the control onto your UserForm’s design
area. All you need to do is click whatever Toolbox control icon you’re interested in adding to the
UserForm, and draw it as you would draw a Shape object onto a worksheet. Figure 18-9 shows a
Label control that was just drawn, showing its default caption of “Label1.”