BuiltInFace Property

Microsoft Office Object Model

Show All

BuiltInFace Property

       

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

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