Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

excel - How to list properties of a chart object in VBA?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...