查詢物件名稱
1 2 3 4 5 |
Sub Who_AM_I() With ActiveWindow.Selection.ShapeRange(1) MsgBox .Name End With End Sub |
將物件移到最前面
1 2 3 |
Sub Bringtofront() ActivePresentation.Slides(第幾張投影片).Shapes("物件名稱").ZOrder msoBringToFront End Sub |