Share via


CommandBarButtonClass.CopyFace Method

Copies the face of a command bar button control to the Clipboard.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Public Overridable Sub CopyFace
'Usage
Dim instance As CommandBarButtonClass

instance.CopyFace()
public virtual void CopyFace()

Implements

_CommandBarButton.CopyFace()

Remarks

Use the PasteFace method to paste the contents of the Clipboard onto a button face.

Examples

This example finds the built-in Open button, copies the button face to the Clipboard, and then pastes the face onto the Spelling and Grammar button.

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.Office.Core Namespace