How to: Show and Hide Gridlines
Use the Worksheet.ActiveView.ShowGridlines property to display or hide worksheet gridlines.
The Worksheet.PrintOptions.PrintGridlines property allows you to specify whether worksheet gridlines should be printed. Refer to the following help topic for more information on how to specify print options for a worksheet: How to: Specify Print Settings.
The following example hides gridlines for the first worksheet in a workbook:
Change the Gridline Color
Use the WorksheetView.GridlineColor property to change the color of worksheet gridlines.
The image below demonstrates the result.