This documentation is archived and is not being maintained.

Window.GridlineColor Property 

Returns or sets the gridline color as an RGB value.

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

Dim window1 As Window

Dim returnValue As Integer
returnValue = window1.GridlineColor

Dim sampleValue As Integer
window1.GridlineColor = sampleValue

int GridlineColor {get; set;}
public int get_GridlineColor();
public void set_GridlineColor(int);
function get GridlineColor() : int;
function set GridlineColor(int);

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms