page break

  1. R

    Macro to Insert Page Breaks on Pivot Table (Excel 2003)

    I currently have a a pivot table which groups by Period (column a) and then by Employee (column b). What I need to do is have a macro go through and insert a page break at the end of each employee. My thinking is that I could look for each cell in column B that contains the word "Total" and...
  2. S

    Conditional page breaks on conditional cell formatting

    I have the following formula in a cell that is hidden, which I use for conditional formatting of the printed worksheet. =IF(ISNUMBER(SEARCH("Folder",A2)),ISNUMBER(SEARCH("Folder",A2)),IF(ISNUMBER(SEARCH("URI Link",A2)),ISNUMBER(SEARCH("URI",A2)),0)) The worksheet, for all practical purposes...
  3. 1

    Dynamic Page Breaks

    Hi, I would like to set horizontal page breaks in vba. For each cell in range (A7 through A286, where 286 is the value in cell B6), if the cell value is "PB", I need a page break above that cell. I've tried numerous codes I found, but nothing worked for me. Any help would be greatly appreciated.
  4. L

    Macro Print/Page breaks

    Hi, I have a macro that someone very kindly helped me with on another thread (see below) I need this developed a bit more to include a page break at line 70, and also to specific what sheet to apply the whole macro to, i.e. their are 60 sheets in the book, but i only want it to apply this...
  5. ClimoC

    Tricky Printing and Print Areas

    I have been stumped with this, mainly because of the slightly annoyingly tight requirements :s Essentially what I'm trying to do is combine PrintTitleRows, PrintTitleColumns, Custom Print areas, and Scale to fit page. PrintTitleRows needs to stay at 86:91 PrintTitleColumns needs to stay as A:A...
  6. O

    Filter then page break macro

    Hi guys, I want to filter column A to exclude blanks, then put a page break before every row that is visible. NO idea where to start. Thanks so much. :eeek:
  7. X

    Print to PDF > new file every time there is a page break?

    Thanks to VoG, I now know how to create an auto page break based on when then the value changes in column 'A' by using Microsoft Visual Basic with the following code: Sub x() Dim lastrow As Long, i As Long lastrow = Cells(Rows.Count, "A").End(xlUp).Row For i = lastrow To 2 Step -1 If...
  8. D

    Pivot Table Page Break Refresh Problem

    Hi there, I'm having a problem with the "Insert page break after each item" Field Setting in my Pivot table report. On originally turning on this setting on the first column in my pivot table, page breaks were correctly inserted for a change in value for each row for this field. However, when...
  9. D

    Disappearing Page Breaks

    I am working in Office 2010 (but I also have Office 2007 available). I have a spreadsheet with 20 columns and 1300+ rows. Some random page breaks have appeared. When I reset them using the Reset command, it looks great. I save the file and close it but when I reopen the file, the old page...
  10. K

    Insert pagebreak in row where a value matches value in A1

    I have a book with many sheets. In each sheet the case is the same. I have a value in A1, which will be found in 1 other A cell in unknown row. I want to insert a page break in the matching row. Let's say A1 value is: F342, I want to find the other F342, which happens to be (this time) in A349...
  11. L

    Change column size

    HI, i want to change the size of the columns in the same sheet, i tried with the page break but it didn't work, can you advise me something
  12. S

    VBA Combining Two Print Areas

    Hi, I am trying to combine two print areas and have them print out one after another as if there was no break between them on the spreadsheet. My problem is that the first print area which is only 1 row is being given a whole page. Here is my current code: (top= 10; bottom = 153) Function...
  13. W

    Page Breaks with VBA

    Hello, I have a sheet with four equal-sized ranges (A2:Z44, A46:Z88, A90:Z132, and A134:Z176), in which the user can hide/show rows of data using Group/Ungroup (the top and bottom line of each range is always visible). I have a print button attached to VBA code that will set the page setup...
  14. I

    Insert Page Breaks code different in Excel 2007 and 2010?

    I have a snippet of VBA code where I insert a page break at a particular row. This works perfectly fine for me in one machine(where I have Excel 2007), but in another machine the same code doesn't insert a page break. It sounds weird to me that VBA would behave differently with different...
  15. T

    Page Break Macro/Code

    Hey, I currently have a report in Access that is about 2000 pages which contains information on different stores and subtotals for each of the stores. Each store ranges from about 30-50 pages and is split by department then subtotaled at the end. Currently we print the report and send it...
  16. R

    insert data after page break

    I need to insert header files at top of each page break Setup as follows: ABC Company Payroll Pay Period 24 ending 11/21/09 Account Business Office: DEPT EMP.NBR EMPLOYEE NAME SHOP QTY 883 12345 CHICKEN LITTLE...
  17. R

    blank line before a subtotal

    I need to insert a blank row before a subtotal, can you help. Range("A1").Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Select Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(6, 7), _ Replace:=True...
  18. J

    How to insert page break after change in detail section on a report?

    so you know how in excel when you do the subtotals wizard you can insert a page break after each change in a field...I basically want to do that in an access report (access 2007). In the detail section I have a field for "Stores" which can have anywhere from 2 to 50 records per store. I want a...
  19. B

    Page breaks to force new worksheets

    Hi, I used the subtotal feature to force page breaks after each of my subtotaled groups. Works fine and in Print Preview I see each set of data on its own page. Is there a way to have Excel create multiple worksheets where there are page breaks and force the data between breaks over to the new...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top