Tab.ColorIndex Property
Returns or sets the color of the specified chart tab.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ColorIndex As XlColorIndex
Get
Set
'Usage
Dim instance As Tab
Dim value As XlColorIndex
value = instance.ColorIndex
instance.ColorIndex = value
XlColorIndex ColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlColorIndex
Remarks
The color is specified as one of the XlColorIndex constants.