+ Reply to Thread
Results 1 to 5 of 5

Code to select a range and set it as the print range onto one page

  1. #1
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Code to select a range and set it as the print range onto one page

    Hello:

    I am trying to set a certain range (A1:M36) as the print range and I am trying to get it to print on one page. I currently have a report that is auto generated but A1:M6 prints on 6 pages. I am trying to get it to print on one page. Is there a way to add code to set A1:M6 to be printed on one page?

    Thanks

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Code to select a range and set it as the print range onto one page

    You want to combine 6 pages into 1? Aren't your worried about readability?
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Re: Code to select a range and set it as the print range onto one page

    5 of the 6 pages are blank. Thanks for the help

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Code to select a range and set it as the print range onto one page

    I think you are going to need to upload a mock workbook with mock data in it (nothing sensitive or personal). It should have both before and after representations of your requirements.

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Code to select a range and set it as the print range onto one page

    hi,
    I use something similar, try to see if it helps...

    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

+ 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