How to Remove Automatic Page Break in Excel: 3 Easy Ways

Method 1 – Using Excel Built-in Option to Remove the Automatic Page Break

Steps:

  • Open the worksheet and then go to Files in the top left corner.

  • Go to Options. A dialog box named Excel Options will appear.

3 Easy Ways to Remove Automatic Page Break in Excel

  • In Excel Options, go to Advanced and scroll down to the Display option for the worksheet.

3 Easy Ways to Remove Automatic Page Break in Excel

  • You need to untick the Show Page Breaks option and click OK.

3 Easy Ways to Remove Automatic Page Break in Excel

  • You will see there are no automatic page breaks like before.


Method 2 – Delete Automatic Page Break by Applying VBA Code

Steps:

  • Press Alt+F11 to open Microsoft Visual Basic for Application. In the window, select Insert and then select Module. A tab named General will appear.

3 Easy Ways to Remove Automatic Page Break in Excel

  • Copy this code and paste it into the General tab.
Sub remove_automatic_pagebreak()
ActiveSheet.DisplayPageBreaks = False
End Sub
Sub show_automatic_pagebreak()
ActiveSheet.DisplayPageBreaks = True
End Sub

3 Easy Ways to Remove Automatic Page Break in Excel

  • Save it as a macro-enabled file or with an XLSM extension by pressing Ctrl+S and choosing XLSM as the file type.

  • Go to the Developer tab in Ribbon and select Macros. A dialog box named Macro will pop up.

3 Easy Ways to Remove Automatic Page Break in Excel

  • By selecting remove_automatic_pagebreak and pressing Run, you can remove the automatic page break. We included the code to show the page break again for better understanding.

3 Easy Ways to Remove Automatic Page Break in Excel

Running the code will give us output like the below image.


Method 3 – Use the Drag and Drop Option to Turn Off Automatic Page Break in Excel

Steps:

  • Go to the View tab in Ribbon and select Page Break Preview.

3 Easy Ways to Remove Automatic Page Break in Excel

  • Get a view of our worksheet like in the image below.

See two vertical page breaks and a horizontal page break.

  • Select the horizontal page break and drag it down across the last border at the bottom, as shown in the image below.

3 Easy Ways to Remove Automatic Page Break in Excel

  • Get an image like the one below. In our case, the vertical automatic page break line disappeared after the horizontal automatic page break was moved. However, for larger amounts of data, the other automatic page breaks may need to be moved separately.


Things to Remember

  • We need to be in the normal view to apply methods 1 & 2.
  • Method 1 & method 2 will still show automatic page breaks in Page Break Preview mode.
  • To see the final result, we need to return to Normal View by selecting it in the View tab from the Ribbon.

Download Practice Workbook

You can download the practice workbook from here.


Related Articles


<< Go Back to Page Setup | Print in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nasir Muhammad Munim
Nasir Muhammad Munim

Nasir Muhammad Munim has been an Excel and VBA Content Developer for over a year in Exceldemy and published more than 30 articles for the website. He is passionate about exploring new aspects of Excel and VBA. He received his Bachelor of Science in Electrical and Electronic Engineering from the Islamic University of Technology. Apart from creating Excel tutorials, he is interested in developing PostgreSQL, MySQL, and Android applications. He is fascinated by CAD-based designing systems and building... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo