ShapeRange 方法 (PowerPoint)ShapeRange.Cut method (PowerPoint)

删除指定对象并将其放到剪贴板中。Deletes the specified object and places it on the Clipboard.



_表达式_一个代表**ShapeRange** 对象的变量。expression A variable that represents a ShapeRange object.


本示例从当前演示文稿的第一张幻灯片中删除第一个和第二个形状,并将它们的副本放到剪贴板,然后将该副本粘贴到第二张幻灯片。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


End With

另请参阅See also

绘图对象ShapeRange Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.