Print gridlines in a worksheet

When you print a worksheet or table without gridlines, it can sometimes be difficult to distinguish cell boundaries, as shown in the print preview in this picture:

print view does not include gridlines

Printing gridlines is not supported in Excel Online 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 settings options after clicking File > Print

  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.

Print gridlines from the Excel desktop application

If you have the Excel desktop application, click Open in Excel, and print gridlines in a worksheet.

Button to Edit in Excel

For news about the latest Excel Online updates, visit the Microsoft Excel blog.

For the full suite of Office applications and services, try or buy it at

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.