CaptionLabel.Separator Property

Word Developer Reference

Returns or sets the character between the chapter number and the sequence number. Read/write WdSeparatorType.

Syntax

expression.Separator

expression   Required. A variable that represents a CaptionLabel object.

Example

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

Visual Basic for Applications
  With CaptionLabels("Figure")
    .Separator = wdSeparatorColon
    .IncludeChapterNumber = True
End With
Selection.InsertCaption "Figure"

See Also