title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ShapeRange.Cut method (PowerPoint) |
vbapp10.chm548050 |
|
|
0e86d67c-7d52-4f3a-4cdd-6363667600a1 |
08/02/2022 |
medium |
Deletes the specified object and places it on the Clipboard.
expression.Cut
expression A variable that represents a ShapeRange object.
If any shape in the range is not fully downloaded, this method fails and an error occurs. For more information about the Partial Documents, see Work with Partial Documents.
This example deletes shapes one and two from slide one in the active presentation, places copies of them on the Clipboard, and then pastes the copies onto slide two.
With ActivePresentation
.Slides(1).Shapes.Range(Array(1, 2)).Cut
.Slides(2).Shapes.Paste
End With
[!includeSupport and feedback]