Page related procedures in class TableOfAuthorities (Word VBA)

This page presents procedures from class TableOfAuthorities related to the theme Page: PageNumberSeparator and PageRangeSeparator

PageNumberSeparator

Returns or sets the characters (up to five) that separate individual page references in a table of authorities.

The default is a comma and a space. Corresponds to the \l switch for a Table of Authorities (TOA) field.

For Each myTOA In ActiveDocument.TablesOfAuthorities 
 myTOA.PageNumberSeparator = "," 
Next myTOA

PageRangeSeparator

Returns or sets the characters (up to five) that separate a range of pages in a table of authorities.

The default is an en dash. Corresponds to the \g switch for a Table of Authorities (TOA) field.

ActiveDocument.TablesOfAuthorities(1).PageRangeSeparator = " - "