ErrorCheckingOptions.IndicatorColorIndex Property

Returns or sets the color of the indicator for error checking options.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property IndicatorColorIndex As XlColorIndex
    Get
    Set
'Usage
Dim instance As ErrorCheckingOptions
Dim value As XlColorIndex

value = instance.IndicatorColorIndex

instance.IndicatorColorIndex = value
XlColorIndex IndicatorColorIndex { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlColorIndex

Remarks

XlColorIndex can be one of the following XlColorIndex constants:

xlColorIndexAutomatic The default system color.

xlColorIndexNone Not used with this property.

You can specify a particular color for the indicator by entering the corresponding index value. You can use the Colors property to return the current color palette.

The following illustration shows the color-index values in the default color palette.

See Also

Reference

ErrorCheckingOptions Interface

ErrorCheckingOptions Members

Microsoft.Office.Interop.Excel Namespace