TableOfContents.TabLeader property (Word)
Returns or sets the character between entries and their page numbers in an index, table of authorities, table of contents, or table of figures. Read/write WdTabLeader.
Syntax
expression. TabLeader
expression Required. A variable that represents a 'TableOfContents' collection.
Example
This example formats the tables of contents in Sales.doc to use a dotted tab leader.
For Each aTOC In Documents("Sales.doc").TablesOfContents
aTOC.TabLeader = wdTabLeaderDots
Next aTOC
See also
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.