title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Shape.CopyPicture method (Excel) |
vbaxl10.chm636127 |
|
|
276cd993-18b1-8c5b-3618-95e5b5c9a773 |
05/14/2019 |
medium |
Copies the selected object to the Clipboard as a picture.
expression.CopyPicture (Appearance, Format)
expression A variable that represents a Shape object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Appearance | Optional | Variant | An XlPictureAppearance constant that specifies how the picture should be copied. The default value is xlScreen. |
Format | Optional | Variant | An XlCopyPictureFormat constant that specifies the format of the picture. The default value is xlPicture. |
If you copy a range, it must be made up of adjacent cells.
[!includeSupport and feedback]