Series.InvertColor (Word)

Returns or sets the fill color for negative data points in a series.

The InvertColor property enables you to set the fill color for negative data points as a specific numeric, hexadecimal, octal, or RGB color value. To set the value as an RBG value, use the Visual BasicRGB function. Instead of using the InvertColor property, you can use the InvertColorIndex property, which uses a simplier set of integer values from the current color palette. For the InvertColor property to have an effect, the InvertIfNegative property of the Series object must also be set to True.


ActiveDocument.Background.Chart.FullSeriesCollection(1).InvertColor = RGB(0,0,255)'blue