Specifies the position of a control relative to its caption.
object.Alignment [= fmAlignment ]
The Alignment property syntax has these parts:
|object||Required. A valid object.|
|fmAlignment||Optional. Caption position.|
The settings for fmAlignment are:
|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.
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.