Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Range.InsertAlignmentTab Method (Word)

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

expression .InsertAlignmentTab(Alignment, RelativeTo)

expression An expression that returns a Range object.

Parameters

Name

Required/Optional

Data Type

Description

Alignment

Required

Long

Indicates the type of alignment—left, center, or right—for the tab stop. Can be one of the WdAlignmentTabAlignment constants.

RelativeTo

Optional

Long

Indicates whether the tab stop is relative to the margins or to the paragraph indents. Can be one of the WdAlignmentTabRelative constants.

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

Selection.Range.InsertAlignmentTab 1, 1

Concepts

Other resources

Show:
© 2015 Microsoft