How to list properties of a chart object in VBA?

2019-01-27 03:56发布

I want to clone(using VBA) some charts and be able to change them for that I need to know what they contain.

How to list properties of a chart object in VBA, more like an object dump in other languages?

标签: excel vba charts
1条回答
疯言疯语
2楼-- · 2019-01-27 04:41

In the VBE, use the Locals window:

Screenshot of partial view of Locals window for Chart

You can then copy any existing charts, and simply manipulate the properties that need to be changed for each, or you can create new charts on-the-fly, setting the properties as needed.

查看更多
登录 后发表回答