Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cuts the specified range to the Clipboard or pastes it into a specified destination.
Syntax
expression.Cut (Destination)
expression Required. An expression that returns a Range object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| 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
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.