ComboBox.TextAlign Property (Outlook Forms Script)
Returns or sets an Integer that specifies how text is aligned in a control. Read/write.
expression A variable that represents a ComboBox object.
The settings for TextAlign are:
|1||Aligns the first character of displayed text with the left edge of the control's display or edit area (default).|
|2||Centers the text in the control's display or edit area.|
|3||Aligns the last character of displayed text with the right edge of the control's display or edit area.|
The TextAlign property only affects the edit region; this property has no effect on the alignment of text in the list.
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.