Thread: chart
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ojv[_2_] ojv[_2_] is offline
external usenet poster
 
Posts: 53
Default chart

Plotting a number of series using code below:

For jjj = LBound(XY, 2) To UBound(XY, 2)
Set srsNew = chtChart.SeriesCollection.NewSeries
With srsNew
.name = SeriesName(jjj)
.xValues = XY(0, jjj)
.Values = XY(1, jjj)

After looping through about midway I get an error saying it cant assign
values to .xValues. Arrays in the matrix used for source data is all okay
containing numbers. Any ideas what could be the source of error message?

ojv