Range.CopyPicture Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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

Concepts

Other resources

Show: