TableOfAuthorities.EntrySeparator property (Word)
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.
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.
Dim strSeparator
strSeparator = _
ActiveDocument.TablesOfAuthorities(1).EntrySeparator
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for