HorizontalAlignment Property

See Also         Example         Applies To

Returns or sets the horizontal alignment for the specified object. For all objects, this can be one of the following XlHAlign constants: xlHAlignCenter, xlHAlignDistributed, xlHAlignJustify, xlHAlignLeft, or xlHAlignRight. In addition, for the Range or Style object, you can set this property to xlHAlignCenterAcrossSelection, xlHAlignFill, or xlHAlignGeneral. Read/write Variant.

Remarks

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.