ChartObject.CopyPicture Method (Excel)

Copies the selected object to the Clipboard as a picture.

Syntax

expression. CopyPicture( _Appearance_ , _Format_ )

expression A variable that represents a ChartObject object.

Parameters

Name Required/Optional Data type Description
Appearance Optional XlPictureAppearance . Specifies how the picture should be copied. The default value is xlScreen .
Format Optional XlCopyPictureFormat . The format of the picture. The default value is xlPicture .

Return value

Variant

See also

ChartObject Object