Style.IncludeAlignment Property (Excel)

True if the style includes the AddIndent, HorizontalAlignment, VerticalAlignment, WrapText, IndentLevel, and Orientation properties. Read/write Boolean.

Syntax

expression .IncludeAlignment

expression A variable that represents a Style object.

Example

This example sets the style attached to cell A1 on Sheet1 to include alignment format.

Worksheets("Sheet1").Range("A1").Style.IncludeAlignment = True

See Also

Concepts

Style Object Members

Style Object