CaptionLabel.Separator property (Word)

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.

With CaptionLabels("Figure") 
 .Separator = wdSeparatorColon 
 .IncludeChapterNumber = True 
End With 
Selection.InsertCaption "Figure"

See also

CaptionLabel Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.