To print Excel with gridlines, enable the gridline printing setting in Page Layout and confirm the print preview displays the lines.
Steps to turn on gridline printing
-
Open the worksheet.
-
Select the Page Layout tab.
-
Check the Print box under Gridlines in the Sheet Options group.
-
Press Ctrl + P on Windows or Command + P on Mac to open Print Preview.
-
Choose Print.
Windows and Mac differences
Windows displays Gridlines → Print directly under Sheet Options on the Page Layout tab.
Mac displays Gridlines → Print Gridlines in the Layout tab inside the ribbon.
Why gridlines do not print
Gridlines do not print because Excel disables them by default.
Fix steps
-
Remove any background fill color from cells because fill hides gridlines.
-
Choose Home → Clear → Clear Formats to restore cell formatting.
-
Enable Print Gridlines from Page Layout.
How to change gridline appearance before printing?
Excel does not allow gridline color changes for printing. Borders create customized lines.
Steps to use borders for stronger lines
-
Select the target cells.
-
Choose Home → Borders → All Borders.
-
Open Borders → Line Style to change thickness.
-
Use Print Preview to confirm the look.
How to print only selected cells with gridlines
To print only selected cells with gridlines, set the print area.
Steps
-
Highlight the range.
-
Choose Page Layout → Print Area → Set Print Area.
-
Turn on Print Gridlines.
-
Use Ctrl + P or Command + P to print.