CaptionLabel.NumberStyle Property (Word)

Returns or sets the number style for the CaptionLabel object. Read/write WdCaptionNumberStyle .

Syntax

expression. NumberStyle

expression Required. A variable that represents a 'CaptionLabel' object.

Remarks

Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

Example

This example inserts a caption at the insertion point. The caption letter is formatted as an uppercase letter.

CaptionLabels(wdCaptionFigure).NumberStyle = _ 
 wdCaptionNumberStyleUppercaseLetter 
Selection.Collapse Direction:=wdCollapseEnd 
Selection.InsertCaption Label:=wdCaptionFigure

See also

CaptionLabel Object