CaptionLabel.ID property (Word)
Returns a WdCaptionLabelID constant that represents the type for the specified caption label if the BuiltIn property of the CaptionLabel object is True. Read-only.
Syntax
expression.ID
expression Required. A variable that represents a 'CaptionLabel' object.
Example
This example displays the built-in caption label names and ID values.
For Each cl In CaptionLabels
If cl.BuiltIn = True Then MsgBox cl.Name & " " & cl.ID
Next cl
See also
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.