Selecting a Control

Selecting a control is different from clicking it. Typically, clicking a control on a sheet or in a dialog box has the same result as clicking a control in a built-in dialog box. For example, clicking a button on a worksheet causes the button to appear pushed down, or pressed, and clicking an empty check box causes a check to appear in the box.

Selecting a control causes a gray box to appear around it and allows you to change the control's properties, move it around on the sheet, or assign a procedure to one of the events it supports. (You select a control in Visual Basic using the Select method.)

To select a control on a sheet

While holding down Ctrl, click the control.

– Or –

Using the right mouse button, click the control. This selects the control and displays its shortcut menu. Press ESC to dismiss the shortcut menu and leave the control selected.

Drawing Selection

You can also click the Drawing Selection button on the Drawing toolbar and then drag a rectangle around the control you want to select. If you don't see the Drawing toolbar, click Toolbars on the View menu, and then select the Drawing check box in the Toolbars box.

Note

To select a group of controls on a dialog sheet, drag a rectangle that encloses the controls you want to select. You can also add controls to a group of controls that's already selected by holding down shift and selecting the additional controls.