EntrySeparator Property 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.

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

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

entrysep = ActiveDocument.TablesOfAuthorities(1).EntrySeparator