1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
For ii = Deb To UBound(TabReqCovCri)
Chart_date(indice) = Format(TabReqCovCri(ii, 0), "mmm-yyyy")
If (TabReqCovCri(ii, End_Tab_Cri) <> Empty) Then
Chart_Tab_Cri_L(indice) = (TabReqCovCri(ii, 2) / TabReqCovCri(ii, End_Tab_Cri))
End if
indice = indice + 1
Next
Charts.Add
With ActiveChart
.SeriesCollection.NewSeries
.SeriesCollection(1).XValues = Chart_date() 'Abscisses
.SeriesCollection(1).Values = Chart_Tab_Cri_L() 'Ordonnées
.SeriesCollection(1).name = "Low"
.ChartType = xlLineMarkers
End With |