|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
- 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
复制代码 |
|