Window.GridlineColorIndex Property
Returns or sets the gridline color as an index into the current color palette or as an XlColorIndex constant.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property GridlineColorIndex As XlColorIndex
Get
Set
'Usage
Dim instance As Window
Dim value As XlColorIndex
value = instance.GridlineColorIndex
instance.GridlineColorIndex = value
XlColorIndex GridlineColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlColorIndex
Remarks
Set this property to xlColorIndexAutomatic to specify the automatic color.