Alignment property



The alignment of the data in the range.

Syntax

Set:     Range.setAlignment(alignType)
Get: alignType = Range.getAlignment

Applies to

Range object.

Data type

string. The type of alignment for the data in the range. Valid values are "left", "right", "center", and "default". "Default" left-aligns text and right-aligns numbers.

See also
DefaultAlignment property
defaultAlignment PARAM tag