CopyFace Method
Applies To
CommandBarButton object.
Description
Copies the face of the specified command bar button control to the Clipboard.
Syntax
expression.CopyFace
expression Required. An expression that returns a CommandBarButton object.
Remarks
Use the PasteFace method to paste the contents of the Clipboard onto a button face.
See Also
BuiltInFace property, FaceId property, PasteFace method.
Example
This example finds the built-in Open button and copies its button face to the Clipboard.
Set myControl = CommandBars.FindControl(Type:=msoControlButton, Id:=23)
myControl.CopyFace