Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 918 Bytes

Word.CaptionLabel.ID.md

File metadata and controls

43 lines (26 loc) · 918 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
CaptionLabel.ID property (Word)
vbawd10.chm158924802
vbawd10.chm158924802
Word.CaptionLabel.ID
ddbbbc0b-8f83-041b-8a80-c0600e1c5231
06/08/2017
medium

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

CaptionLabel Object

[!includeSupport and feedback]