PageRangeSeparator Property

Microsoft Word Visual Basic

expression.PageRangeSeparator

expression    Required. An expression that returns a TableOfAuthorities object.

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 = " - "