+ Reply to Thread
Results 1 to 16 of 16

Adjust page breaks

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Question Adjust page breaks

    Dear, good afternoon.

    I wonder if a macro is possible to adjust the page breaks according to the total height of the lines. For example:

    The first page like the page break occurs from 971 high (ie, page 970 would go to a high total) from the second page break from 946 would be high (ie, the second page on pages 945 would total height).

    Looking forward.

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    hi

    Any idea?

    I will express myself well?

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    I would be very happy if someone could help me on the subject, thanks!

  4. #4
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    would be very happy if someone could help me on the subject, thanks!

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    hi

    Any idea?

    I will express myself well?

  6. #6
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    I know someone will respond with a good heart
    Thank you!

  7. #7
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Adjust page breaks

    Do you mean to adjust the page break to the total of written lines in the sheet?

  8. #8
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    thanks for replying!
    Yes!
    send me an example

  9. #9
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Adjust page breaks

    Do you want to adjust the horizontal page break only? Or the vertical one to the number of columns too?

  10. #10
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Adjust page breaks

    Well anyway, try this:

    Please Login or Register  to view this content.
    I think it should work fine if you have no empty rows or columns in between.
    Last edited by Pichingualas; 03-02-2012 at 12:19 PM. Reason: There was an error in the code

  11. #11
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    Adjusting the horizontal and vertical

  12. #12
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    It has to be according to these criteria.

    I wonder if the macro is Possible to adjust the page breaks According to the total height of the lines. For example:

    The first page like the page break Occurs from 971 high (ie, page 970 would go to a high total) from the second break from page 946 would be high (ie, the second page on pages 945 would total height).

  13. #13
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Adjust page breaks

    Does the code I provided not work?

  14. #14
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    Erro 9.
    You Can Do with the criteria that is in the post above?

  15. #15
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Adjust page breaks

    Maybe this works:

    Please Login or Register  to view this content.
    Last edited by Pichingualas; 03-02-2012 at 01:08 PM.

  16. #16
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Adjust page breaks

    It worked but I needed it to put the criteria in the post above.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1