This acts a toggle to show/hide gridlines.

Sub ToggleGridlines()
 ActiveWindow.DisplayGridlines = Not ActiveWindow.DisplayGridlines
End Sub



© Copyright andrewsexceltips.net All Rights Reserved.