R
R.VENKATARAMAN
I am fairly familiar with excel charting and also vba. But I am still
confused with the terms like
chartgroups
chartgroup
chartobjects
chartobject
charts
chart,
seires.
Let me see how I have understood or misunderstood the various terms
1.SERIES denote the various charts in a chartsheet or worksheet(embedded)
2.if in a "chartsheet" I have three line charts and four column charts that
means I have two CHARTGROUPS one group of linecharts and second group of
column charts
3. now how to go one step down is it chart or series or chartgroups
4. CHARTOBJECTS are embedded charts in a worksheet.
If I have two embedded charts in the active worksheet one line chart and one
column chart (or even if I have two same type chars)
?activesheet.chartobjects.count(in the immediate window) gives 2. but if I
write
?activeshet.chartgroups.count gives error message
but the code
MsgBox Worksheets(1).ChartObjects(1).Chart.ChartGroups.Count(as in help
file)
gives 1 even though I have one line chart and one column chart. Besides why
does that term"chart" comes in.
my perhaps faulty logic says that in the active worksheet
there are 2 CHARTOBJECTS
there are two CHARTS
there are two CHARTGROUPS one linechart and one column chart
so the above msgbox should give 2 and not 1.
?activesheet.Charts.count also gives error
do you understand my confusion.
The help in excel is of not much help atleast to me- not even their
hierarchical diagrams . will anybody please direct me to any webpage so
that my mind is clarified about how and when these terms can be used.
confused with the terms like
chartgroups
chartgroup
chartobjects
chartobject
charts
chart,
seires.
Let me see how I have understood or misunderstood the various terms
1.SERIES denote the various charts in a chartsheet or worksheet(embedded)
2.if in a "chartsheet" I have three line charts and four column charts that
means I have two CHARTGROUPS one group of linecharts and second group of
column charts
3. now how to go one step down is it chart or series or chartgroups
4. CHARTOBJECTS are embedded charts in a worksheet.
If I have two embedded charts in the active worksheet one line chart and one
column chart (or even if I have two same type chars)
?activesheet.chartobjects.count(in the immediate window) gives 2. but if I
write
?activeshet.chartgroups.count gives error message
but the code
MsgBox Worksheets(1).ChartObjects(1).Chart.ChartGroups.Count(as in help
file)
gives 1 even though I have one line chart and one column chart. Besides why
does that term"chart" comes in.
my perhaps faulty logic says that in the active worksheet
there are 2 CHARTOBJECTS
there are two CHARTS
there are two CHARTGROUPS one linechart and one column chart
so the above msgbox should give 2 and not 1.
?activesheet.Charts.count also gives error
do you understand my confusion.
The help in excel is of not much help atleast to me- not even their
hierarchical diagrams . will anybody please direct me to any webpage so
that my mind is clarified about how and when these terms can be used.