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

Cycling through Colors

If you need to easily change the font colors in a group of cells, one of the esoteric commands Excel provides is the ...

Discover More

Adding Page Borders to a Printout

Need a full-page border on your Excel printouts? It's not as easy to get one as you might wish. There are a few ways you ...

Discover More

Jumping Around Folders

When you open a workbook in Excel, the Open dialog box always starts within the folder in which you were last working. ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Adding a Little Animation to Your Life

Tired of the same old boring Excel look? You can add some life to your worksheets by introducing some animation. Here's ...

Discover More

Changing Ribbon Tool Defaults

The tools available on the Ribbon allow you to easily format information in a worksheet. If you'd like those tools to ...

Discover More

Turning Off Error Checking

A little green triangle in the corner of a cell means that Excel thinks there is an error with the cell contents. If ...

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 9 + 2?

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.