Cut Method

Applies To

Selection object, Shape object, ShapeRange collection object, Slide object, SlideRange collection object, TextRange object.

Description

Deletes the specified object and places it on the Clipboard.

Syntax

expression.Cut

expression Required. An expression that returns a Selection, Shape, ShapeRange, Slide, SlideRange, or TextRange object.

See Also

Copy method, Delete method, Paste method.

Example

This example deletes the selection in window one and places a copy of it on the Clipboard.

Windows(1).Selection.Cut
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
This example deletes slide one from the active presentation and places a copy of it on the Clipboard.

ActivePresentation.Slides(1).Cut
This example deletes the text in shape one on slide one in the active presentation and places a copy of it on the Clipboard.

ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Cut