|
- Option Explicit
- Sub ll()
- Dim Pres As Presentation
- Set Pres = Application.ActivePresentation
- Dim Shp As Shape, ShpRng As ShapeRange, TxtRng As TextRange
- With Pres.Slides(1).Shapes("MainNote")
-
- With .TextFrame.TextRange
- .Text = "FFFFFFF"
- .Font.Size = 30
- End With
-
- Debug.Print .Left, .Top
- End With
- '''
- With Pres.Slides(1).Shapes("LeftNote")
- Debug.Print .Left, .Top
- End With
- End Sub
- Sub llll()
- Dim ShpRng As ShapeRange
- Set ShpRng = Application.ActiveWindow.Selection.ShapeRange
- With ShpRng
- Debug.Print .Left, .Top
- End With
- End Sub
复制代码 |
|