C
Chad
Hi All,
I am trying to write a chunk of code that adds labels to my XY chart.
Basically I code is very simple
ActiveWorkbook.Sheets(pChartSheet).SeriesCollection(1).Points(199).DataLabel.Text
= "199"
That line works fine, but
ActiveWorkbook.Sheets(pChartSheet).SeriesCollection(1).Points(200).DataLabel.Text
= "200"
fails with the falling error "Runtime Error 1004"
My source data has 215 entries so, 1-199 works fine, but 200 + fails.
Any ideas why?
Thanks
Chad
I am trying to write a chunk of code that adds labels to my XY chart.
Basically I code is very simple
ActiveWorkbook.Sheets(pChartSheet).SeriesCollection(1).Points(199).DataLabel.Text
= "199"
That line works fine, but
ActiveWorkbook.Sheets(pChartSheet).SeriesCollection(1).Points(200).DataLabel.Text
= "200"
fails with the falling error "Runtime Error 1004"
My source data has 215 entries so, 1-199 works fine, but 200 + fails.
Any ideas why?
Thanks
Chad