GridlineColor Property

Microsoft Office Web Components Object Model

GridlineColor Property

       

Returns or sets the gridline color as an RGB value. Read/write Long.

expression.GridlineColor

expression   Required. An expression that returns a Window object.

Example

The following example sets the gridline color of the active window in Spreadsheet1 to Red.

Spreadsheet1.ActiveWindow.GridlineColor = RGB(255,0,0)