This documentation is archived and is not being maintained.

Cut Method

Office 2003

Deletes the specified object and places it on the Clipboard.

expression.Cut

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

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
		




Show: