Edit

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

TabStop Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.