Not sure what you are asking here.
To print gridlines, File>Page Setup>Sheet.
Checkmark "gridlines" under the Print section.
If you want to print a blank range with just the gridlines, Excel needs
something to print.
You must enter a space in a cell at the bottom right corner of a range say
A1:K45
Enter the space in K45.
Gord Dibben MS Excel MVP