Hi everyone, hope you can help me on this one:
I'm trying to color all chart series on my sheet according to their value. If negative, certain color, if positive other.
So far this is what I have:
[pre]
[/pre]
I'm missing a bit of code that changes the color depending on the value of the series.
Thanks!
I'm trying to color all chart series on my sheet according to their value. If negative, certain color, if positive other.
So far this is what I have:
[pre]
Code:
For Each cChart In Sheet2.ChartObjects
With cChart.Chart
.SeriesCollection(1).Interior.Color = RGB(255, 0, 0)
End With
Next cChart
I'm missing a bit of code that changes the color depending on the value of the series.
Thanks!