Edit

Share via


Paste method (Excel Graph)

Pastes the contents of the Clipboard into the specified range on the datasheet.

Syntax

expression.Paste (Link)

expression Required. An expression that returns a Range object.

Parameters

Name Required/Optional Data type Description
Link Optional Variant True to establish a link to the source of the pasted data. The default value is False.

Example

This example pastes the contents of the Clipboard into cell A1 on the datasheet.

myChart.Application.DataSheet.Range("A1").Paste

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.