You can't print gridlines in Excel for the web, but you can mimic gridlines by applying borders to the cells
-
Select cells that you to include.
-
Go to the Home tab and select Borders under Font, and choose All Borders.
You can also press Ctrl+Shift_7 to open Borders. -
On the File tab, select Print.
-
Choose options and select Print for a preview. Select Print when ready.
Go to the Page Layout tab and select Print under Gridlines.
Tip: Clear the box to print without gridlines.