J Jim Cone Jul 3, 2007 #2 "SeriesCollection" object in help covers that. -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "kaiser" Hello Can anyone tell me how to count (in vba) the series in a chart?
"SeriesCollection" object in help covers that. -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "kaiser" Hello Can anyone tell me how to count (in vba) the series in a chart?
K kaiser Jul 3, 2007 #3 "SeriesCollection" object in help covers that. -- Jim Cone San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware Hello Can anyone tell me how tocount(in vba) theseriesin achart? Click to expand... I saw that but I am having troubles getting it to work. i = Worksheets("Data").ChartObjects("Chart 3").SeriesCollection.Count should work as far as I understand but it doesnt. note that the chart is imbedded in a sheet and not in its own sheet. Any thoughts? I get "Unable to get ChartsObject property of the Worksheet Class" Thanks
"SeriesCollection" object in help covers that. -- Jim Cone San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware Hello Can anyone tell me how tocount(in vba) theseriesin achart? Click to expand... I saw that but I am having troubles getting it to work. i = Worksheets("Data").ChartObjects("Chart 3").SeriesCollection.Count should work as far as I understand but it doesnt. note that the chart is imbedded in a sheet and not in its own sheet. Any thoughts? I get "Unable to get ChartsObject property of the Worksheet Class" Thanks
A Andy Pope Jul 3, 2007 #4 Hi, You are missing a level in the object reference. i = Worksheets("Data").ChartObjects("Chart 3").CHART.SeriesCollection.Count Cheers Andy
Hi, You are missing a level in the object reference. i = Worksheets("Data").ChartObjects("Chart 3").CHART.SeriesCollection.Count Cheers Andy
K kaiser Jul 3, 2007 #5 Hi, You are missing a level in the object reference. i = Worksheets("Data").ChartObjects("Chart3").CHART.SeriesCollection.Count Cheers Andy -- - Show quoted text - Click to expand... Thanks - works
Hi, You are missing a level in the object reference. i = Worksheets("Data").ChartObjects("Chart3").CHART.SeriesCollection.Count Cheers Andy -- - Show quoted text - Click to expand... Thanks - works