TableOfContents.TabLeader Property

Word Developer Reference

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.

Visual Basic for Applications
  For Each aTOC In Documents("Sales.doc").TablesOfContents
    aTOC.TabLeader = wdTabLeaderDots
Next aTOC

See Also