Share via


SlideRange.Cut Method

PowerPoint Developer Reference

Deletes the specified object and places it on the Clipboard.

Syntax

expression.Cut

expression   A variable that represents a SlideRange object.

Example

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.

Visual Basic for Applications
  With ActivePresentation
    .Slides(1).Shapes.Range(Array(1, 2)).Cut
    .Slides(2).Shapes.Paste
End With

See Also