Chart.CopyPicture method (Project)

Copies a selected object to the Clipboard as a picture.

Syntax

expression.CopyPicture (Appearance, Format, Size)

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
Appearance Optional Long Specifies how the picture should be copied. Can be one of the Excel.XlPictureAppearance constants. The default value is xlScreen (1).
Format Optional Long Specifies the format of the picture. Can be one of the Excel.XlCopyPictureFormat constants. The default value is xlPicture (-4147).
Size Optional Long Specifies whether the size of the copied picture should be optimized for a printer or for the screen. Can be one of the Excel.XlPictureAppearance constants. The default value is xlPrinter (2).
Appearance Optional INT
Format Optional INT
Size Optional INT

Return value

Nothing

See also

Chart Object Copy Method

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.