Hi
I get the xvalues on my chart from an array. But when the number of xvalues exceeds 20, I get an error. Is it a default setting ? here's my code :
[vba]
ReDim myxvalues(1 To (numberofyears + 1))
j = 1
For i = myform.ComboBox2.Value To myform.ComboBox4.Value
myxvalues(j) = i
j = j + 1
Next i
ActiveChart.SeriesCollection(1).XValues = myxvalues()
[/vba]
any ideas how to unlock that ?
Joey