Window.DisplayGridlines (Excel)

True if gridlines are displayed.

This property applies only to worksheets and macro sheets. This property affects only displayed gridlines. Use the PrintGridlines property to control the printing of gridlines.


ActiveWindow.DisplayGridlines = True