Change the color of gridlines in a worksheet

By default, gridlines are displayed in worksheets 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.

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

    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.

  2. Click the Microsoft Office Button Office button image, and then click Excel Options.

  3. In the Advanced category, under Display options for this worksheet, make sure that the Show gridlines check box is selected.

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

    Option for printing gridlines

Applies To: Excel 2007

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language