MicrosoftВ® Office ExcelВ® 2007: Data Analysis and Business Modeling (Bpg -- Other)

Overview

User forms enable the Microsoft Office Excel user to add a variety of cool, useful controls to a worksheet. In this chapter, we will show you how easy it is to use spin buttons, scroll bars, check boxes, option buttons, combo boxes, and list boxes. To access Excel user forms, on the Developer tab of the Ribbon, click Insert from the Controls group to display the Forms Controls (not to be confused with the ActiveX Controls, which are usually used within the Microsoft Visual Basic for Applications (VBA) programming language.)

Note 

To display the Developer tab, click the Microsoft Office Button, and then click Excel Options. On the Popular tab, check the Show Developer Tab In The Ribbon box, and then click OK.

The user forms we will discuss are shown in Figures 25-1 through 25-7 on the next page.

Figure 25-1: Spin button

Figure 25-2: Scroll bar

Figure 25-3: Check box

Figure 25-4: Option button

Figure 25-5: Group box

Figure 25-6: Combo box

Figure 25-7: List box

We begin by showing you how to use spin buttons and scroll bars.

Категории