I would like to be able to add inverted chart colours with vba using RGB
Here is what I tried to do but is not working correctly
The first part is supposed to set the positive colour and the second part is supposed to set the negative colour
Here is what I tried to do but is not working correctly
The first part is supposed to set the positive colour and the second part is supposed to set the negative colour
Code:
ActiveSheet.ChartObjects("Chart 6").Activate
ActiveChart.FullSeriesCollection(1).Points(1).Format.Fill.ForeColor.RGB = RGB(255, 153, 51)
ActiveChart.FullSeriesCollection(1).Points(1).Select
With Selection
.InvertIfNegative = True
.Format.Fill.ForeColor.RGB = RGB(255, 0, 0)
End With