Series.InvertColorIndex (PowerPoint)

Returns or sets the fill color for negative data points in a series. Possible return values are xlColorIndexAutomatic - Automatic color, xlColorIndexNone - No color.

The InvertColorIndex property enables you to set the fill color for negative data points as a color index value from 0 to 56. Instead of using the InvertColorIndex property, you can use the InvertColor property, which enables you to set the color as a specific numeric, hexadecimal, octal, or RGB color value. For the InvertColorIndex property to have an effect, the InvertIfNegative property of the Series object must also be set to True.


ActivePresentation.Slides(1).Shapes(1).Chart.FullSeriesCollection(1).InvertColorIndex = RGB(0,0,255)'blue