Share via


TabStop.Alignment Property (Word)

Returns or sets a WdTabAlignment constant that represents the alignment for the specified tab stop. Read/write.

Syntax

expression .Alignment

expression Required. A variable that represents a TabStop object.

Example

This example centers the first tab stop in the first paragraph of the active document.

Sub CenterTabStop() 
 ActiveDocument.Paragraphs(1).TabStops(1) _ 
 .Alignment = wdAlignTabCenter 
End Sub

See Also

Concepts

TabStop Object

TabStop Object Members