18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating UserForms 41<br />

FIGURE 41.6<br />

An empty UserForm.<br />

Adding controls<br />

The Toolbox, also shown in Figure 41.6, contains various ActiveX controls that you can add to your<br />

UserForm.<br />

When you move the mouse pointer over a control in the Toolbox, the control’s name appears. To add a control,<br />

click and drag it in the form. After adding a control, you can move it or change its size.<br />

Table 41.2 lists the Toolbox controls.<br />

TABLE 41.2<br />

Toolbox Controls<br />

Control<br />

Select Objects<br />

Label<br />

TextBox<br />

ComboBox<br />

ListBox<br />

CheckBox<br />

Description<br />

Lets you select other controls by dragging.<br />

Adds a label (a container for text).<br />

Adds a text box (allows the user to type text).<br />

Adds a combo box (a drop-down list).<br />

Adds a list box (to allow the user to select an item from a list).<br />

Adds a check box (to control Boolean options).<br />

continued<br />

721

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!