DisplayGridlines Property

Microsoft Office Web Components Visual Basic

True if gridlines are displayed on the specified spreadsheet. The default value is True. Read/write Boolean.

expression.DisplayGridlines

expression    Required. An expression that returns a Window object.

Example

This example hides gridlines on the spreadsheet.

Spreadsheet1.ActiveWindow.DisplayGridlines = False