CaptionLabel object (Word)

Represents a single caption label. The CaptionLabel object is a member of the CaptionLabels collection. The items in the CaptionLabels collection are listed in the Label box in the Caption dialog box.

Remarks

Use CaptionLabels (index), where index is the caption label name or index number, to return a single CaptionLabel object. The following example sets the numbering style for the Figure caption label.

CaptionLabels("Figure").NumberStyle = _ 
 wdCaptionNumberStyleLowercaseLetter

The index number represents the position of the caption label in the CaptionLabels collection. The following example displays the first caption label.

MsgBox CaptionLabels(1).Name

Use the Add method to add a custom caption label. The following example adds a caption label named "Photo."

CaptionLabels.Add Name:="Photo"

Methods

Name
Delete

Properties

Name
Application
BuiltIn
ChapterStyleLevel
Creator
ID
IncludeChapterNumber
Name
NumberStyle
Parent
Position
Separator

See also

Word Object Model Reference

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.