HorizontalAlignment Property
TOC
Collapse the table of content
Expand the table of content

Range.HorizontalAlignment Property (Excel)

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.

Returns or sets a Variant value that represents the horizontal alignment for the specified object.

expression .HorizontalAlignment

expression A variable that represents a Range object.

The value of this property can be set to one of the following constants:

xlCenter

xlDistributed

xlJustify

xlLeft

xlRight

Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

Concepts

Other resources

Show:
© 2016 Microsoft