Skip to main content

Range.CopyPicture method

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

Syntax

expression.CopyPicture (Appearance, Format)

expression A variable that represents a Range object.

Parameters

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

Return value

Variant

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>