Border.ColorIndex Property
Returns or sets the color of the border.
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 Border
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
xlColorIndexNone