I encounter another problem using the bar chart, the limitation is 255 bars in a graph, is there something to change this ?
My example book exceeds the limitation size so I show you my example code :
Dim dat() As Variant
Dim maxx As Integer
Dim i As Long
maxx = 32082
ReDim dat(1 To maxx)
For i = 1 To maxx
dat(i) = Sheet1.Cells(i, 1)
Next i
With Sheet1.ChartObjects.Item(1)
.Activate
End With
Do Until ActiveChart.SeriesCollection.Count = 0
ActiveChart.SeriesCollection(1).Delete
Loop
ActiveChart.SeriesCollection.NewSeries
ActiveChart.SeriesCollection(1).Values = dat
Bookmarks