MsoHorizontalAnchor Enumeration (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show: