Checking Print Preview or saving a quick PDF in Microsoft Excel once — only to return to your normal spreadsheet and find stubborn grey dashed vertical and horizontal lines slicing across your columns and rows forever — trips up almost every Excel user. Those dashed borders are not cell formatting or border lines at all: they are Excel’s automatic Page Break markers, which stay visible in Normal view once triggered until you switch them off manually.
Why the Dashed Lines Suddenly Appeared
Clicking File > Print, opening Page Break Preview, or running a print macro prompts Excel to compute paper margins for your default printer and draw dotted cut-off guides directly onto that sheet so you can see where pages split. Normal border-clearing tools (like No Border or Clear Formats) leave them completely untouched.
How to Hide Dashed Page-Break Lines (Windows Excel Desktop)
Turn off the visual page-break guides in seconds without resetting your print layout or margins:
- Click File in the top-left corner of Excel and choose Options at the bottom of the left menu.
- Click Advanced in the left sidebar of the Excel Options window.
- Scroll roughly three-quarters of the way down until you reach Display options for this worksheet (make sure the active sheet name is selected right beside it).
- Untick the checkbox labelled Show page breaks.
- Click OK.
All dotted horizontal and vertical printer lines vanish immediately across your sheet, and your regular light-grey spreadsheet gridlines remain untouched.
How to Hide Dashed Page-Break Lines in Excel on Mac
- Click Excel in the top Apple Menu Bar and choose Settings (or Preferences).
- Under Authoring, click View.
- Under In Workbook, show, untick Page breaks and close the preferences pane.
Check That You Are Back in Normal View Too
If the entire outside area of your sheet also turned solid grey with big blue labels saying Page 1 and Page 2, look at the three small view icons in the bottom-right corner next to the zoom bar (or click the View tab) and click Normal — returning from Page Break Preview back to Normal view immediately cleans up the canvas, and unticking Show page breaks hides any lingering dashed grid cuts cleanly.