Apa itu page break di Excel?

If you work with large Excel spreadsheets, you know how frustrating it can be to scroll back and forth between different parts of the sheet. Page breaks can help alleviate this issue by allowing you to break up your sheet into smaller, more manageable pieces.

While you can insert page breaks manually, there is a much faster way to do it using a keyboard shortcut. In this article, we'll show you how to quickly insert page breaks in Excel using a keyboard shortcut.

How to Insert a Page Break in Excel

There are two ways to insert a page break in Excel: manually or using a keyboard shortcut.

To insert a page break manually, click the Insert tab on the ribbon and then click the Page Break button in the Breaks group. This will insert a page break above the active cell.

If you want to insert a page break below the active cell, you can select the cell below where you want the page break and then click the Page Break button.

You can also insert a page break by right-clicking on the cell where you want the page break and then selecting Insert Page Break from the context menu.

To insert a page break using a keyboard shortcut, simply press Ctrl+Shift+Enter. This will insert a page break above the active cell.

If you want to insert a page break below the active cell, you can press Ctrl+Shift+Enter and then press the down arrow key. This will move the page break below the active cell.

How to Remove a Page Break in Excel

If you want to remove a page break, you can click on the break line and then press the Delete key. You can also right-click on the break line and select Delete Page Break from the context menu.

If you want to remove all page breaks from your sheet, you can click the Page Layout tab on the ribbon and then click the Breaks button in the Page Setup group. This will open the Page Break dialog box. From here, you can click the Remove All button to remove all page breaks from the sheet.

How to Use the Page Break Preview Feature in Excel

The Page Break Preview feature in Excel allows you to see how your sheet will look when it is printed. This can be helpful if you want to make sure that your page breaks are in the right place.

To access the Page Break Preview feature, click the View tab on the ribbon and then click the Page Break Preview button in the Workbook Views group. This will open your sheet in Page Break Preview mode.

In this mode, you'll see blue lines that represent the page breaks in your sheet. You can drag these lines to move the page breaks. You can also double-click on a blue line to insert a new page break.

To exit the Page Break Preview mode, click the Normal button in the Workbook Views group.

The Bottom Line

Page breaks are a helpful way to break up large Excel spreadsheets into smaller, more manageable pieces. You can insert page breaks manually or use a keyboard shortcut. You can also use the Page Break Preview feature to see how your sheet will look when it is printed.

The Excel page break option helps you see where page breaks will appear when your worksheet is printed. In this article I'll show you several ways to insert them manually or by condition. You'll also learn how to remove page breaks in Excel 2010 - 2016, where to find the Page Break Preview, hide and show the marking lines.

Page breaks are separators that divide a worksheet into individual pages for printing. In Excel, page break marks are inserted automatically according to the paper size, margin and scale options. If the default settings don't work for you, you can easily insert page breaks in Excel manually. It's really helpful for printing a table with the exact number of pages you want.

In this post, I'll show you how to use the Excel Page Break Preview to easily see the changes you make. Also, you'll see how you can adjust the page breaks in the worksheet before printing, how to remove, hide or show page breaks.

How to insert a page break in Excel manually

If you go to the Print Preview pane and don't like the way your Excel data is laid out for printing across several pages, you can manually insert page breaks where you need them. Below you'll find the steps showing how to do it.

  1. Pick your Excel worksheet where you need to insert page breaks.
  2. Go to the View tab in Excel and click on the Page Break Preview icon in the Workbook Views group.
    Apa itu page break di Excel?

    Tip. You can also see where page breaks will appear if you click Page Break Preview Button image on the Excel status bar.

    Apa itu page break di Excel?

    Note. If you get the Welcome to Page Break Preview dialog box, click OK. Tick the Do not show this dialog again check box to avoid seeing this message again.

  3. Now you can easily view the location of page breaks in your worksheet.
    Apa itu page break di Excel?

    Tip. On more way of inserting page break in Excel is to go to the Page Layout tab, click Breaks in the Page Setup group and select the corresponding option from the drop-down list.

    Apa itu page break di Excel?

Note. If manual page breaks that you add don't work, you may have the Fit To scaling option selected (Page Layout tab -> Page Setup group -> click Dialog Box Launcher Button image -> Page). Change the scaling to Adjust to instead.

On the picture below, you can see 3 horizontal page breaks added. Therefore, if you go to Print Preview, you'll see different parts of data on separate sheets.

Apa itu page break di Excel?

Insert a page break in Excel by condition

If you often print your data tables, you may want to learn how to automatically insert page breaks in Excel by condition, for example when a value in certain column changes. Say you have column named Category and you want each category to be printed on a new page.

Apa itu page break di Excel?

Below, you'll find several helpful macros and the steps how to add page breaks using the Excel built-in Subtotal functionality.

Use macros to add the marking lines

Below you can find two really useful macros. They will remove all default page breaks in your table and will easily add new marking lines at the appropriate locations.

Just select the range of cells you want to use for splitting and avoid the headers.

  • InsertPageBreaksIfValueChanged - inserts page breaks if the value in the column changes.
  • InsertPageBreaksByKeyphrase - adds a page break each time it finds a cell that contains "CELL VALUE" (it's the entire cell, not part of it, don't forged to replace "CELL VALUE" in macro with your actual key phrase).

If you are novice in VBA, feel free to read How to insert and run VBA code in Excel 2010, 2013 - tutorial for beginners.

Sub InsertPageBreaksIfValueChanged() Dim rangeSelection As Range Dim cellCurrent As Range Set rangeSelection = Application.Selection.Columns(1).Cells ActiveSheet.ResetAllPageBreaks For Each cellCurrent In rangeSelection If (cellCurrent.Row > 1) Then If (cellCurrent.Value <> cellCurrent.Offset(-1, 0).Value) Then ActiveSheet.Rows(cellCurrent.Row).PageBreak = _ xlPageBreakManual End If End If Next cellCurrent End Sub Sub InsertPageBreaksByKeyphrase() Dim rangeSelection As Range Dim cellCurrent As Range Set rangeSelection = Application.Selection ActiveSheet.ResetAllPageBreaks For Each cellCurrent In rangeSelection If cellCurrent.Value = "CELL VALUE" Then ActiveSheet.Rows(cellCurrent.Row + 1).PageBreak = _ xlPageBreakManual End If Next cellCurrent End Sub

Use subtotals to insert page breaks

Have you ever thought of Subtotal as of an option for inserting page breaks in Excel? This feature actually makes the process rather easy.

  1. Make sure your table has headers. For example, if column A contains category names, then cell A1 should have the label "Category." Make sure all columns in your table contain headers.
  2. Select the range with your data. Go to Data -> Sort -> Sort by Category. Click OK to see your data parts ordered:
    Apa itu page break di Excel?
  3. Select any cell within your table, go to the Data tab and click on the Subtotal icon.
  4. You will see the Subtotal dialog box.
    • Select your key column from the At each change in: drop-down list. In my table, it's Category.
    • Pick Count from the Use function list.
    • Select the correct checkbox in the Add subtotal to: group.
    • Make sure the Page break between groups check box is selected.
    • Click on OK.

    Apa itu page break di Excel?

You can delete the rows and cells with totals if you don't need them and get your table with page breaks automatically inserted according to the selected settings.

How to remove page breaks in Excel

Though it's not possible to remove page breaks that Excel adds automatically, you can easily delete those you inserted manually. You can choose to remove certain marking line or remove all manually inserted page breaks.

Delete a page break

Please follow the steps below to remove a page break in Excel.

  1. Select the worksheet where you want to delete the page break mark.
  2. Click on the Page Break Preview icon under the View tab or click Page Break Preview Button image on the status bar.
  3. Now select the page break you need to remove:
    • To delete a vertical break, select the column to the right of the line. Then right-click on it and select the option Remove Page Break.
    • To remove a horizontal page break, select the row below the line that you want to delete. Right-click on this row and pick the Remove Page Break option from the list.

    Apa itu page break di Excel?

Tip. You can also delete a page break by dragging it outside the page break preview area.

Remove all inserted page breaks

If you need to delete all page breaks, you can use the Reset All Page Breaks functionality.

  1. Open the worksheet that you want to modify.
  2. Click on the Page Break Preview icon under the View tab or click Page Break Preview Button image on the status bar.
  3. Go to the Page Layout tab in the Page Setup group and click Breaks.
    Apa itu page break di Excel?
  4. Pick the Reset All Page Breaks option.

Tip. You can also right-click any cell on the worksheet and select Reset All Page Breaks from the menu list.

Move a page break in Excel

One more option you may find helpful is dragging a page break to another location in a worksheet.

  1. Click Page Break Preview on the View tab or click Page Break Preview Button image on the status bar.
  2. To move a page break, just drag it to a new location.
    Apa itu page break di Excel?

Note. After you move an automatic page break, it becomes a manual one.

Hide or show page break marks

Below you'll find how to display or hide page breaks in the Normal view

  1. Click the File tab.
  2. Go to Options -> Advanced.
  3. Scroll down to the Display options for this worksheet group and tick or clear the Show page breaks check box.
    Apa itu page break di Excel?

Now you know how to easily turn page breaks on or off in the Normal view.

Reset back to the Normal view

Now that all your page breaks found the correct location, you can return to Normal view. It's as simple as clicking on the Normal icon under the View tab in Excel.

Apa itu page break di Excel?

You can also click Normal Button image on the status bar.

Apa itu page break di Excel?

That's it. In this article I showed how to use the Excel page break option. I tried to cover all its options and now you know how to insert, remove, show, hide and move page breaks to adjust them before printing. You've also got several helpful macros to add marking lines by condition and learnt to work in the Excel Page Break Preview mode.

Please let me know if you have any questions. Be happy and excel in Excel!

You may also be interested in

Bagaimana cara page break di excel?

Pada tab Tampilan, klik Pratinjau Putuskan Halaman. , lalu seret garis break halaman ke lokasi baru. Catatan: Saat Anda memindahkan hentian halaman otomatis, penunjuk berubah menjadi hentian halaman manual.

Apa fungsi break pada Excel?

Jawaban. Jawaban: Page Break Preview berfungsi untuk menampilkan halaman secara terpisah pada suatu sheet.

Apa fungsi dari Page Break Preview?

Jawaban. Page Break Preview Adalah Menampilkan preview potongan halaman jika dokumen akan dicetak. *Page Break Juga digunakan untuk membuat halaman secara terpisah pada suatu sheet.

Bagaimana cara menghilangkan page break di excel?

Menghapus break halaman.
Pilih lembar kerja yang ingin Anda ubah..
Pada tab Tampilan, dalam grup Tampilan Buku Kerja, klik Pratinjau Hentian Halaman. ... .
Lakukan salah satu hal berikut ini: ... .
Pada tab Tata Letak Halaman, di grup Penyetelan Halaman, klik Hentian..
Klik Hapus Hentian Halaman..