Word Reference

Adding Controls to a UserForm

Direct Answer

Adding Controls to a UserForm is part of the Word VBA object model. This reference page documents its syntax, parameters, and typical usage.

Reference

To add ActiveX controls to a user form, find the control you want to add in the Toolbox, drag the control onto the form, and then drag an adjustment handle on the control until the control’s outline is the size and shape you want.

Note Dragging a control (or a number of “grouped” controls) from the form back to the Toolbox creates a template of that control, which can be reused. This is a useful feature for implementing a standard interface for your applications.

When you’ve added controls to the form, use the commands on the Format menu in the Visual Basic Editor to adjust the control alignment and spacing.

!include[Support and feedback]

Reference: Word object-model documentation • updated 06/08/2019. Rebuilt for readability; see the original for complete parameter matrices.