Interior.ColorIndex Property
Returns or sets the color of the interior.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ColorIndex As Object
Get
Set
'Usage
Dim instance As Interior
Dim value As Object
value = instance.ColorIndex
instance.ColorIndex = value
Object ColorIndex { get; set; }
Property Value
Type: System.Object
Remarks
The color is specified as an index value into the current color palette or as one of the following XlColorIndex constants.
xlColorIndexAutomatic. Use to specify the automatic fill for drawing objects.
xlColorIndexNone. Use to specify no interior fill.