BuiltInFace Property

Applies To

CommandBarButton object.

Description

True if the face of the specified command bar button control is its built-in face. This property can only be set to True, which will reset the face to the built-in one. Read/write Boolean.

See Also

CommandBarControl object, FaceId property, PasteFace method.

Example

This example determines whether the face of the first control on the command bar named "Custom" is its built-in button face. If it is, the example copies the button face to the Clipboard.

Set myControl = CommandBars("My Custom Bar").Controls(1)
With myControl
    If .BuiltInFace = True Then .CopyFace
End With