편집

다음을 통해 공유


Align text in a control

  1. In the Properties window, choose the TextAlign property.

  2. Click the drop-down arrow next to the property's value to display a list of available choices.

  3. Choose one of the following:

    • Left, to align the text with the left edge of the control.

    • Right, to align the text with the right edge of the control.

    • Center, to center the text relative to the length of the control.

TextAlign is available for a ComboBox, Label, and TextBox.

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.