Change the color of gridlines in a worksheet

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.

  1. Select the worksheets for which you want to change the gridline color.

ShowHow to select worksheets

To select Do this
A single sheet

Click the sheet tab.

Active 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.

Tab scrolling buttons

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 (shortcut menu: A menu that shows a list of commands relevant to a particular item. To display a shortcut menu, right-click an item or press SHIFT+F10.).

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.

  1. Click the Microsoft Office Button Office button image, and then click Excel Options.
  2. In the Advanced category, under Display options for this worksheet, make sure that the Show gridlines check box is selected.
  3. In the Gridline color box, click the color you want.

Gridline color settings in the Excel Options dialog box

 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.

Border button

  • 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.

Settings for printing and viewing gridlines

Applies to:
Excel 2007