ChapterStyleLevel Property

Applies To

CaptionLabel object.

Description

Returns or sets the heading style that marks a new chapter when chapter numbers are included with the specified caption label. The number 1 corresponds to Heading 1, number 2 corresponds to Heading 2, and so on. Read/write Long.

Note The IncludeChapterNumber property must be set to True for chapter numbers to be included with caption labels.

See Also

CaptionLabel property, IncludeChapterNumber property.

Example

This example formats the table's caption label to include a chapter number. The chapter number is taken from paragraphs formatted with the Heading 2 style.

With CaptionLabels(wdCaptionTable)
    .IncludeChapterNumber = True
    .ChapterStyleLevel = 2
End With