BuiltIn Property

Applies To

CaptionLabel object, Style object.

Description

True if the specified object is one of the built-in styles or caption labels in Word. Read-only Boolean.

Remarks

You can specify built-in styles across all languages by using the WdBuiltinStyle constants or within a language by using the style name for the language version of Word. For example, in the English (U.S.) version of Word, the following statements are equivalent:

ActiveDocument.Styles(wdStyleHeading1)
ActiveDocument.Styles("Heading 1")
See Also

Add method (CaptionLabels collection), Add method (Styles collection), BaseStyle property, CaptionLabel property, ID property, InUse property.

Example

This example checks all the styles in the active document. When it finds a style that isn't built in, it displays the name of the style.

For Each sty in ActiveDocument.Styles
    If sty.BuiltIn = False Then
        Msgbox sty.NameLocal
    End If
Next
This example checks all the caption labels that have been created in the application. When it finds a caption label that isn't built in, it displays the name of the label.

For Each lb in CaptionLabels
    If lb.BuiltIn = False Then
        Msgbox lb.Name
    End If
Next