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

Using the Reviewing Toolbar

The Reviewing toolbar is a handy location for many of the tools often used by editors when working on a document. Here's ...

Discover More

Understanding Font Styles

Fonts, by default, come with one or more styles that define variations of how that font is displayed in your document. ...

Discover More

Replacing with Plain Text

When using Find and Replace, how your replacements are formatted will depend on how the text being replaced is formatted. ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Controlling Display of the Formula Bar

The Formula Bar is a regularly used feature in the Excel interface. You can, however, modify whether Excel displays the ...

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

Turning Off Display of Zeros for All Worksheets

Some people like zero values displayed; others do not. Excel allows you to easily turn the display on or off for a single ...

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 seven less than 8?

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.