Muokkaa

Jaa


Add a control to a form

Use any of the following methods to add a control from the Toolbox to your form. You can also use these methods to insert a control in a Frame, TabStrip, or MultiPage on the form.

  • Click a control in the Toolbox, and then click in the form. The control appears in its default size. You can then drag the control to change its size.

  • Drag a control from the Toolbox to the form. The control appears in its default size.

  • Double-click the control in the Toolbox, and then click in the form once for each control that you want to create. For example, to create four command buttons, double-click the CommandButton in the Toolbox and then click four times in the form.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.