GridlineColor Property

Microsoft Office Web Components Visual Basic

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)