Separator Property

Applies To

CaptionLabel object, Endnotes collection object, Footnotes collection object, TableOfAuthorities object.

Description

Endnotes or Footnotes object: Returns a Range object that represents the endnote or footnote separator. Read-only.

CaptionLabel object: Returns or sets the character between the chapter number and the sequence number. Can be one of the following WdSeparatorType constants: wdSeparatorColon, wdSeparatorEmDash, wdSeparatorEnDash, wdSeparatorHyphen, or wdSeparatorPeriod. Read/write Long.

TableOfAuthorities object: Returns or sets the characters (up to five) between the sequence number and the page number. A hyphen (-) is the default character. This property corresponds to the \d switch for a TOA field. Read/write String.

See Also

Add method (TablesOfAuthorities collection), ContinuationSeparator property, EntrySeparator property, NumberStyle property, PageNumberSeparator property, PageRangeSeparator property, ResetSeparator method.

Example

This example inserts a Figure caption, which has a colon (:) between the chapter number and the sequence number.

With CaptionLabels("Figure")
    .Separator = wdSeparatorColon
    .IncludeChapterNumber = True
End With
Selection.InsertCaption "Figure"
This example changes the footnote separator to a single border indented 3 inches from the right margin.

With ActiveDocument.Footnotes.Separator
    .Delete
    .Borders(wdBorderTop).LineStyle = wdLineStyleSingle
    .ParagraphFormat.RightIndent = InchesToPoints(3)
End With
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 (-).

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