Поделиться через


TableOfAuthorities.Separator Property

Word Developer Reference

Returns or sets up to five characters that appear between the sequence number and the page number in a table of authorities. Read/write String.

Syntax

expression.Separator

expression   Required. A variable that represents a TableOfAuthorities collection.

Remarks

This property corresponds to the \d switch for a Table of Authorities (TOA) field. A hyphen (-) is the default character.

Example

This example inserts a table of authorities at the beginning of the active document, and then it formats the table to include a sequence number and a page number, separated by a hyphen (-).

Visual Basic for Applications
  Set myRange = ActiveDocument.Range(0, 0)
With ActiveDocument.TablesOfAuthorities.Add(Range:=myRange)
    .IncludeSequenceName = "Chapter"
    .Separator = "-"
End With

See Also