Print gridlines in a worksheet

When you print a worksheet or table without gridlines, it can sometimes be difficult to distinguish cell boundaries like 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 include.
  2. On the Home tab, click Borders > All Borders.

 Tip    You can tell the areas without borders from areas that have borders by the darker lines.

add a border to a table or data range

  1. For a print preview, click File > Print.
  2. Pick the print option you want to preview and click Print.

Print Options after clicking File > Print

  1. If the gridlines look the way you want it in the preview, click Print.

Printing with broder

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

Open in Excel button

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

Applies to:
Excel Online