TableOfAuthorities.EntrySeparator Property

Word Developer Reference

Returns or sets the characters (up to five) that separate a table of authorities entry and its page number. Read/write String.

Syntax

expression.EntrySeparator

expression   A variable that represents a TableOfAuthorities object.

Remarks

The default is a tab character with a dotted leader. Corresponds to the \e switch for a TOA (Table of Authorities) field.

Example

This example inserts a table of authorities into the active document and then formats the table to use a comma between the entries and their corresponding page numbers.

Visual Basic for Applications
  Dim rngTemp As Range
Dim toaLoop As TableOfAuthorities

Set rngTemp = ActiveDocument.Range(Start:=0, End:=0) ActiveDocument.TablesOfAuthorities.Add _ Range:=rngTemp, Category:=1 For Each toaLoop In ActiveDocument.TablesOfAuthorities toaLoop.EntrySeparator = ", " Next toaLoop

This example returns the entry separator for the first table of authorities.

Visual Basic for Applications
  Dim strSeparator

strSeparator = _ ActiveDocument.TablesOfAuthorities(1).EntrySeparator

See Also