By default, gridlines are displayed in worksheets (worksheet: The primary document that you use in Excel to store and work with data. Also called a spreadsheet. A worksheet consists of cells that are organized into columns and rows; a worksheet is always stored in a workbook.) using the color that is assigned to Automatic. To change the color of gridlines, you can use the following procedure.
- Select the worksheets for which you want to change the gridline color.
How to select worksheets
| To select | Do this |
| A single sheet | Click the sheet tab.  If you don't see the tab that you want, click the tab scrolling buttons to display the tab, and then click the tab.  |
| Two or more adjacent sheets | Click the tab for the first sheet. Then hold down SHIFT while you click the tab for the last sheet that you want to select. |
| Two or more nonadjacent sheets | Click the tab for the first sheet. Then hold down CTRL while you click the tabs of the other sheets that you want to select. |
| All sheets in a workbook | Right-click a sheet tab, and then click Select All Sheets on the shortcut menu. |
Tip When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets on the shortcut menu.
- Click the Microsoft Office Button
, and then click Excel Options. - In the Advanced category, under Display options for this worksheet, make sure that the Show gridlines check box is selected.
- In the Gridline color box, click the color you want.

Tip To return gridlines to the default color, click Automatic.
Next steps
After you change the color of gridlines on a worksheet, you may want to take the following next steps:
Make gridlines more visible To make the gridlines stand out on the screen, you can experiment with border and line styles. These settings are located on the Home tab, in the Font group. To learn exactly how to apply, remove, or create custom borders, see Apply or remove cell borders on a worksheet.

Print gridlines By default, Excel doesn't print gridlines on worksheets. If you want gridlines to appear on the printed page, select the worksheet or worksheets that you want to print. On the Page Layout tab, in the Sheet Options group, select the Print check box under Gridlines. To print, press CTRL+P.
