Shape.SmartArt 属性 (Excel) | Microsoft Learn https://learn.microsoft.com/zh-c ... xcel.shape.smartart
返回一个 对象,该对象表示与形状关联的 SmartArt。 此为只读属性。
- Sub ll()
- Dim Pres As Presentation
- Set Pres = Application.ActivePresentation
- Dim Sld As Slide, Shp As Shape
- Dim Ss As SmartArt
- For Each Sld In Pres.Slides
- For Each Shp In Sld.Shapes
- Debug.Print Shp.Name, Shp.Type
- Select Case Shp.Type
- Case 24 '"msoIgxGraphic"
- Set Ss = Shp.SmartArt
- With Ss
- Debug.Print .AllNodes.Count
- Debug.Print .Application
- End With
- Stop
- Stop
- End Select
- Next Shp
- Next Sld
- End Sub
复制代码
|