2014-10-20 83 views

回答

1

既然你也標記與PowerPoint,VBA,這就是例子,我會在這裏提供。這將選擇活動演示文稿的第一張幻燈片上的形狀1和3,然後剪切它們:

Sub SelectShapes() 

    With ActivePresentation.Slides(1) 
     .Shapes(1).Select msoTrue ' Start a new selection 
     .Shapes(3).Select msoFalse ' Add to current selection 
    End With 

    ' and cut 
    ActiveWindow.Selection.Cut 

End Sub 
相關問題