Alignment property

Specifies the position of a control relative to its caption.


object.Alignment [= fmAlignment ]

The Alignment property syntax has these parts:

Part Description
object Required. A valid object.
fmAlignment Optional. Caption position.


The settings for fmAlignment are:

Constant Value Description
fmAlignmentLeft 0 Places the caption to the left of the control.
fmAlignmentRight 1 Places the caption to the right of the control (default).


The caption text for a control is left-aligned.


Although the Alignment property exists on the ToggleButton, the property is disabled. You cannot set or return a value for this property on the ToggleButton.

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.