Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Controlling Display of Page Breaks.

Controlling Display of Page Breaks

by Allen Wyatt
(last updated November 28, 2017)

7

There are two types of page breaks that can appear in an Excel worksheet: manual or automatic. You insert page breaks manually by using the Breaks tool on the Page Layout tab of the ribbon. Automatic page breaks are those that are calculated by Excel based on various settings, such as page size, margins, cell size, and the like.

Excel allows you to control whether page breaks are displayed on-screen (as dashed lines) by following these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and Excel 2013 display the File tab of the ribbon and then click Options.)
  2. Click the Advanced option at the left of the dialog box.
  3. Scroll through the available options until you find the Display Options for this Worksheet section. (See Figure 1.)
  4. Figure 1. The advanced options of the Excel Options dialog box.

  5. Using the drop-down list at the top of the section, indicate which worksheet you want to affect.
  6. Set the Show Page Breaks check box as desired. If selected, then Excel displays page breaks on-screen for the designated worksheet.
  7. Click OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8847) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Controlling Display of Page Breaks.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Complex Searches for Documents

When working with lots of documents, you may have need from time to time to discover which of those documents contain ...

Discover More

Printing an Entire Workbook by Default

Need to print an entire workbook? It's as easy as adding a single line of code to your macros.

Discover More

Saving Styles in a Macro

If you are trying to limit what styles can and can't be used in a document, you might think a good approach is to store ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Enlarging the Formula Bar

The Formula bar is used to display the formula that appears in a cell. You may want to modify how the Formula bar is ...

Discover More

Selected Cells Not Shaded

Does the pale coloring scheme used to mark selected cells by Excel 2007 drive you nuts? You aren't alone. Here's an idea ...

Discover More

Entered Values are Divided by 100

Enter a value into a cell and "poof!" it is automatically divided by 100. What's going on, and how can you fix it so that ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine minus 4?

2017-12-04 02:47:59

Dave

@Willy

I like it, thanks! That never occurred to me. I love little tricks like that.


2017-12-01 12:19:21

Willy Vanhaelen

@Dave
You can even make your QAT button toggle between showing and clearing the dotted lines:

Sub NoPageBreaks()
ActiveSheet.DisplayPageBreaks = Not ActiveSheet.DisplayPageBreaks
End Sub


2017-11-30 03:58:31

Dave

I have a shortcut on the QAT which runs a macro to clear the page break dotted lins. One click and they're gone! Here's the code:

Sub NoPageBreaks()
ActiveSheet.DisplayPageBreaks = False
End Sub


2017-05-03 15:29:29

Mark W

Yes, it would be wonderful if this in fact did the trick. Unfortunately like so many settings in Excel 2010 (also primarily the automatic setting under Formulas) it doesn't take long to switch BACK to the original setting! Very frustrating! Sucks! Even when I try to reset settings for all often used Excel docs thinking maybe it's settings of individual .xlsm files for example, but still no luck. I can't, under any circumstances, understand why there's not a way to set these type of settings GLOBALLY and therefore permanently. Wow MS.


2017-03-07 11:39:14

Barbara Andersen

The Breaks tool is grayed out on the Page Layout tab of the ribbon. How do I get this enabled?


2016-03-29 10:49:20

A Croft

A quick macro to hide page breaks for all worksheets in a workbook:

Public Sub WorksheetsHidePageBreaks()
Dim wks As Worksheet

For Each wks In ThisWorkbook.Worksheets
wks.DisplayPageBreaks = False
Next wks
End Sub


Another to do this for all open workbooks:

Public Sub WorkbooksHidePageBreaks()
Dim wkb As Workbook
Dim wks As Worksheet

For Each wkb In Application.Workbooks
For Each wks In wkb.Worksheets
wks.DisplayPageBreaks = False
Next wks
Next wkb
End Sub


2015-06-22 22:12:41

Anna

Any way to make this setting carry with this workbook?


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.