Hide gridlines in a workbook

Macro Title:
Worksheet Variable:
Gridlines Display Option:
Comment:

'

Sub Hide_Gridlines()
Dim ws As Worksheet
'hide gridlines in a workbook

For Each ws In Worksheets

ws.Activate
ActiveWindow.DisplayGridlines = False
Next ws

End Sub