|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
- 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
复制代码 |
|