Share via


ShapeRange.Cut Method

Deletes the specified object and places it on the Clipboard.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Cut
'Usage
Dim instance As ShapeRange

instance.Cut()
void Cut()

Examples

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

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace