【发布时间】:2015-03-04 04:44:27
【问题描述】:
我想知道是否有办法在 PowerPoint 2010 中使用 VBA 更改 SmartArt 对象的每个单独节点的宽度/高度。
我已尝试使用以下代码进行此操作,但最终收到一条错误消息:
ActivePresentation.Slides(i).Shapes(2).SmartArt.AllNodes(j).Shapes.Height = 100
我在 Word 2010 中找到了一个类似问题的链接,似乎无法使用 VBA 更改大小,因为 height 属性是只读的。 http://www.excelforum.com/word-programming-vba-macros/860581-word-2010-smartart-vba-how-to-change-size.html
如果有人知道在 VBA 中是否有可能的方法,请告诉我。谢谢!
【问题讨论】:
标签: vba excel ms-word powerpoint