Originally Posted by
Atanasi
For example Series from 1 to 5 to be colored in RED and Series from 6 to 10 to be colored in BLACK.
I would try this. For more detailed answers that have been tested please attach file.
Sub x()
Dim objSeries As Series
Dim i As Long
With ActiveChart
For i = 1 To 5
With .SeriesCollection(i).Format.Line
.Transparency = 0
.Weight = 0.75
.ForeColor.RGB = (255, 0, 0)
End With
Next i
For i = 6 To 10
With .SeriesCollection(i).Format.Line
.Transparency = 0
.Weight = 0.75
.ForeColor.RGB = (0, 0, 0)
End With
Next i
End With
End Sub
Bookmarks