CommandBarButton.BuiltInFace property (Office)

Is True if the face of a command bar button control is its original built-in face. Read/write.

Note

The use of CommandBars in some Microsoft Office applications has been superseded by the new ribbon component of the Microsoft Office Fluent user interface. For more information, see Overview of the Office Fluent ribbon.

Syntax

expression.BuiltInFace

expression A variable that represents a CommandBarButton object.

Remarks

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

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.