TableOfAuthorities.PageRangeSeparator property (Word)

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

Syntax

expression. PageRangeSeparator

expression An expression that returns a 'TableOfAuthorities' object.

Remarks

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

Example

This example formats the first table of authorities in the active document to use a hyphen with a space on either side as the page range separator (for example, "9 - 12").

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

See also

TableOfAuthorities Object

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.