Share via


TabStop.Leader Property (Word)

Returns or sets the leader for the specified TabStop object. Read/write WdTabLeader.

Syntax

expression .Leader

expression Required. A variable that represents a TabStop object.

Example

This example changes the leader for all tab stops that have a leader to dashes for all the paragraphs in the active document.

Dim tsLoop As TabStop 
 
For each tsLoop in ActiveDocument.Paragraphs.TabStops 
 If tsLoop.Leader <> wdTabLeaderSpaces Then 
 tsLoop.Leader = wdTabLeaderDashes 
 End If 
Next tsLoop

See Also

Concepts

TabStop Object

TabStop Object Members