Share via


TabStop.Position Property (Word)

Returns or sets the position of a tab stop relative to the left margin. Read/write Single.

Syntax

expression .Position

expression Required. A variable that represents a TabStop object.

Example

This example adds a right tab stop to the selected paragraphs 2 inches from the left margin. The position of the tab stop is then displayed in a message box.

With Selection.Paragraphs.TabStops 
 .ClearAll 
 .Add Position:=InchesToPoints(2), Alignment:=wdAlignTabRight 
 MsgBox .Item(1).Position & " or " & _ 
 PointsToInches(.Item(1).Position) & " inches" 
End With

See Also

Concepts

TabStop Object

TabStop Object Members