Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.07 KB

Excel.Shape.CopyPicture.md

File metadata and controls

40 lines (24 loc) · 1.07 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.CopyPicture method (Excel)
vbaxl10.chm636127
vbaxl10.chm636127
Excel.Shape.CopyPicture
276cd993-18b1-8c5b-3618-95e5b5c9a773
05/14/2019
medium

Shape.CopyPicture method (Excel)

Copies the selected object to the Clipboard as a picture.

Syntax

expression.CopyPicture (Appearance, Format)

expression A variable that represents a Shape object.

Parameters

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.

Remarks

If you copy a range, it must be made up of adjacent cells.

[!includeSupport and feedback]