如何以编程方式(使用 VBA)修改 Word 2007 中的图表

发布于 2024-10-01 00:04:17 字数 198 浏览 0 评论 0原文

各位,

我想编写一个VBA宏来修改Word文档中的图表,但我不知道怎么做?我使用了下面的老派技巧,但没有希望:

  • 在打开的文档中选择一个图表
  • 开始宏录制
  • 修改图表
  • 停止录制
  • 编辑宏

令人惊讶的是,宏是空的!

有什么建议吗?

Folks,

I would like to write a VBA macro to modify the charts in a Word document but I don't know how ? I used the old school trick below with no hope:

  • Select a Chart in an open document
  • Start Macro Recording
  • Modify the chart
  • Stop Recording
  • Edit the macro

The surprise here is that the macro is empty !!

Any advice ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酒几许 2024-10-08 00:04:17

您可能会在此相关问题中找到一些有用的信息:VBScript 和多级 OLE?

You may find some useful information in this related question: VBScript and multilevel OLE?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文