Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1019 Bytes

Excel.OLEObject.CopyPicture.md

File metadata and controls

41 lines (24 loc) · 1019 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OLEObject.CopyPicture method (Excel)
vbaxl10.chm415077
vbaxl10.chm415077
Excel.OLEObject.CopyPicture
2a4d8e14-5dfe-74f1-6ffe-7501c46e90ca
05/02/2019
medium

OLEObject.CopyPicture method (Excel)

Copies the selected object to the Clipboard as a picture. Variant.

Syntax

expression.CopyPicture (Appearance, Format)

expression A variable that represents an OLEObject 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

[!includeSupport and feedback]