MsoHorizontalAnchor enumeration (Office)

Specifies the horizontal alignment of text in a text frame. Used with the HorizontalAnchor property of the TextFrame object.

Name Value Description
msoAnchorCenter 2 Text is centered horizontally.
msoAnchorNone 1 No alignment.
msoHorizontalAnchorMixed -2 Return value only; indicates a combination of the other states.

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.