View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
kaiser kaiser is offline
external usenet poster
 
Posts: 23
Default Count series in chart

On Jul 3, 9:57 pm, "Jim Cone" wrote:
"SeriesCollection" object in help covers that.
--
Jim Cone
San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware

wrote in message

Hello
Can anyone tell me how tocount(in vba) theseriesin achart?


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