thank you Allenm
Yes, it does help, but it does not completely solve my problem. "Borders" does not come up as an option on my IntelliSense when I type "Legend." This makes it difficult to ferret out the parent/child relationships between the various objects, properties, and methods.
A larger problem is to make one chart look like a similar one. I found a way to do it by copying the first chart and then using the PasteSpecial Format:=2 method on the second chart. But that's kind of clunky. It seems that if I had a pre-knowledge of all of the properties of the first chart (including those of all of it's objects), I could just set the second chart's properties to the same values. But the trouble is I haven't found a way to exhaustively debug.Print all of the properties of a chart exhaustively.
You can't write code like this:
For Each Property In ActiveChart
debug.Print Property
Next Property
All of the various chart objects like the legend, the chart area, the plot area, etc. have their own properties. Many are read only (cannot be set with VBA code).
So how can one discover all of the properties of any chart, including those of all of it's attendant objects? And once I do manage to discover them, how do I create a new chart with different data that looks very much like the first chart? Anybody?
|