PageNumberSeparator Property

Microsoft Word Visual Basic

PageNumberSeparator Property

       

Returns of 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. Read/write String.

expression.PageNumberSeparator

expression   Required. An expression that returns a TableOfAuthorities object.

Example

This example formats the tables of authorities in the active document to use a comma as the page separator (for example, "9,12").

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