Cut Method

Microsoft Graph Visual Basic

Cuts the specified range to the Clipboard or pastes it into a specified destination.

expression.Cut(Destination)

expression    Required. An expression that returns a Range object.

Destination    Optional Variant. The range where the object should be pasted. If this argument is omitted, the object is cut to the Clipboard.

Example

This example cuts the range A1:G37 on the datasheet and places it on the Clipboard.

Set mySheet = myChart.Application.DataSheet
mySheet.Range("A1:G37").Cut