Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Print gridlines in a worksheet

By default, gridlines don't appear on a printed Microsoft Excel worksheet or workbook. This article describes how you can make the gridlines appear in your printed worksheets.

  1. Select the worksheet or worksheets that you want to print. For more information, see Select one or multiple worksheets.

    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.

  2. On the Page Layout tab, in the Sheet Options group, select the Print check box under Gridlines.

    Sheet Options group on the Page Layout tab

    Note: If the check boxes in the Sheet Options group appear dimmed, it may be because you have a chart, image, or other object selected on the worksheet. If you cancel that selection, you'll be able to use the check boxes.

  3. Click the File tab, and then click Print.

    Keyboard shortcut     You can also press Ctrl+P.

  4. Click the Print button.

Next steps

After you select the Print check box, you might want to take the following steps:

  • Preview the gridlines    – To see how the gridlines will print, press Ctrl+F2 to open the File tab, which displays a preview of printed worksheet. Gridlines print only around actual data in a worksheet. If you want to print gridlines around empty cells also, you must set the print area to include those cells. Or, you can apply borders around the cells instead. To learn more about these options, see Define or clear a print area on a worksheet or Apply or remove cell borders on a worksheet.

  • Troubleshoot printing issues with gridlines    – If gridlines don't show up when you print your worksheet, or if you can't see them in the Print Preview window, check that the Draft quality check box is not selected. The Draft quality check box appears on Sheet tab in the Page Setup dialog box. For a shortcut to access the Page Setup dialog box, press Alt+P, S, P.

    Sheet tab in the Page Setup dialog box

    If gridlines still don't print successfully, there may be an issue with your printer driver. In this case, you can try downloading the latest driver from the printer manufacturer's website. As a last resort, you can apply borders around the cells that you want to print. For more information, see Apply or remove cell borders on a worksheet.

Printing gridlines is not supported in Excel for the web but, you can mimic gridlines by applying borders, like in this picture:

Printing with broder

  1. To add a border around each cell, click and drag to select cells that you want included.

  2. On the Home tab, in the Font group, click Borders > All Borders.

    The areas with borders will now appear with darker lines.

    add a border to a table or data range

  3. For a print preview, click File > Print.

  4. Pick the print option you want to preview and click Print.

    Print setup screen

  5. In the preview, make sure the gridlines look the way you want them to, and then click Print.

    Printing with broder

    If you want to make changes before printing, click the x to close preview and return to the worksheet.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

See Also

Show or hide gridlines on a worksheet

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×