How to Get Dotted Lines Off Excel: Remove Page Breaks
In this article
To get dotted lines off Excel, you must disable the automatic page break indicators by navigating to File > Options > Advanced and unchecking the "Show page breaks" box under the "Display options for this worksheet" section. These lines appear automatically after you have used the Print Preview or the Page Break Preview mode, serving as visual guides to show where data will be cut off when printed on physical paper. While helpful for formatting, they can clutter a clean spreadsheet and distract from data entry.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An open workbook containing the dotted lines you wish to remove.
- Administrative access to the Excel options menu.
Step-by-Step
- Open your Excel Workbook: Launch Microsoft Excel and open the specific file where the dotted lines are appearing. Note that these lines are worksheet-specific, meaning you may need to repeat these steps for every tab in your workbook if they all show page breaks.
- Access the File Menu: Click on the File tab located in the top-left corner of the Excel ribbon. This will take you to the backstage view where account settings and global application options are managed.
- Open Excel Options: Look at the bottom of the left-hand navigation pane. Click on Options. If your window is small, you might need to click More... first to see the Options button. (Note: Labels may differ slightly depending on your version of Excel or regional settings).
- Navigate to Advanced Settings: In the Excel Options dialog box that appears, select the Advanced category from the menu on the left side.
- Locate Display Options: Scroll down through the Advanced menu until you find the section titled Display options for this worksheet. You will see a dropdown menu listing your current active sheet. Ensure the correct sheet is selected from this list.
- Disable Page Breaks: Find the checkbox labeled Show page breaks. Uncheck this box to remove the dotted lines from your view.
- Save and Apply: Click the OK button at the bottom of the dialog box to apply the changes. The dotted lines should disappear immediately from your spreadsheet.
Common Mistakes
One of the most frequent mistakes users make is attempting to delete the dotted lines by using the "Clear All" or "Delete" keys on their keyboard. Because these lines are visual indicators (guides) and not actual cell borders or drawn shapes, they cannot be selected or deleted like normal objects. Trying to highlight the area and change the border color to white is another common error; while this might hide a solid border, it will not remove the system-generated page break indicators.
Another mistake is confusing the dotted lines with Gridlines. Gridlines are the light grey lines that separate every cell in the workbook. Page breaks are specifically the dotted lines that appear only after a print action has been triggered. If you are trying to remove the general grid, you should go to the View tab and uncheck Gridlines, rather than digging into the Advanced Options menu.
Users also frequently forget that the "Show page breaks" setting is specific to the active sheet. If you have a workbook with ten different tabs and you disable page breaks on Sheet1, the dotted lines will still appear on Sheet2 through Sheet10. You must select each sheet from the dropdown menu in the Advanced Options or repeat the process while each sheet is active.
Tips
If you frequently switch between needing to see where pages end and wanting a clean workspace, instead of diving into the Options menu, use the View tab on the ribbon. You can toggle between Normal view and Page Break Preview. Page Break Preview turns the entire sheet grey and makes the page breaks solid blue lines that you can click and drag to adjust. Switching back to Normal view often leaves the dotted lines behind, but it is the fastest way to verify your print layout before you hide the indicators permanently.
To prevent these lines from appearing in the first place, avoid entering the Print Preview screen (Ctrl + P) until you are completely finished with your data entry and formatting. Once Excel calculates the print area and shows you the preview, it automatically triggers the display of those dotted lines in the Normal view to help you align your columns.
For a truly professional presentation, combine the removal of page breaks with the removal of gridlines. Go to the View tab and uncheck Gridlines. This creates a blank white canvas, making your data tables and charts stand out more effectively, which is ideal for dashboards or reports that will be screenshotted for presentations.
Troubleshooting
If you have unchecked the "Show page breaks" box and the lines are still visible, first check if the lines are actually Borders. Select the cells where the lines appear, go to the Home tab, click the Border dropdown, and select "No Border." If the lines disappear, they were manual borders, not automatic page breaks.
If the lines persist and are definitely page breaks, try restarting the application. Occasionally, Excel's graphical interface may lag, and the visual update doesn't trigger immediately. Save your work, close Excel entirely, and reopen the file.
In some cases, the dotted lines might be caused by a Print Area that has been specifically defined. Go to the Page Layout tab, click on Print Area, and select Clear Print Area. This resets the print boundaries to the default settings, which can sometimes resolve stubborn visual artifacts.
If you are using Excel on a web browser (Excel for the Web), you will notice that the options menu is different. The web version handles page breaks differently and often doesn't show them in the same way the desktop application does. If you see lines in the web version, they are typically only visible in the "Print" layout view and cannot be toggled off in the same way as the desktop software.
Frequently Asked Questions
Why did these dotted lines appear suddenly?
They appear automatically after you access the Print Preview screen or use the Page Break Preview mode. Excel does this to warn you which data will fall onto the next page during printing.
Do these dotted lines show up when I print the document?
No, the dotted lines are only visual guides for the user. They are not part of the actual document content and will not appear on the printed paper or in a PDF export.
Can I change the color of the dotted lines?
No, the dotted page break indicators are a system default. You cannot change their color, thickness, or style. If you need custom lines, you must use the Border tool in the Home tab.
Is there a keyboard shortcut to remove these lines?
There is no direct keyboard shortcut to toggle page breaks. You must use the File > Options > Advanced path or toggle the View modes on the View tab.
Will removing these lines change my print settings?
No, unchecking "Show page breaks" only hides the visual markers. It does not change your margins, orientation, or the actual point where the page breaks occur during printing.