Leader Property Example

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

For each tb in ActiveDocument.Paragraphs.TabStops
    If tb.Leader <> wdTabLeaderSpaces Then
        tb.Leader = wdTabLeaderDashes
    End If
Next tb