Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Range.InsertAlignmentTab Method

Office 2007
Inserts an absolute tab that is always positioned in the same spot, relative to either the margins or indents.

Syntax

expression.InsertAlignmentTab(Alignment, RelativeTo)

expression   An expression that returns a Range object.

Parameters

NameRequired/OptionalData TypeDescription
AlignmentRequiredLongIndicates the type of alignment—left, center, or right—for the tab stop. Can be one of the WdAlignmentTabAlignment constants.
RelativeToOptionalLongIndicates whether the tab stop is relative to the margins or to the paragraph indents. Can be one of the WdAlignmentTabRelative constants.

Example
The following example inserts an alignment tab at the Insertion Point.

Visual Basic for Applications
Selection.Range.InsertAlignmentTab 1, 1



Community Additions

Show:
© 2015 Microsoft