PasteFace Method

Applies To

ToolbarButton Object.

Description

Pastes a bitmap button face from the Clipboard onto the specified button.

Syntax

object.PasteFace

object

Required. The ToolbarButton object.

Remarks

This method cannot be used with a toolbar button that is a gap or that has a palette list attached (such as the Font or Style buttons).

See Also

BuiltInFace Property, CopyFace Method.

Example

This example copies the bitmap face of button one (the New Workbook button) on the Standard toolbar and pastes it onto button three (the Save button).


With Toolbars("Standard")
    .ToolbarButtons(1).CopyFace
    .ToolbarButtons(3).PasteFace
End With