Share via


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)

Applies to | Window Object

See Also | GridlineColorIndex Property