+ Reply to Thread
Results 1 to 7 of 7

How to create a multipage PDF with an array of ranges?

  1. #1
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Sweden
    MS-Off Ver
    2016.
    Posts
    397

    How to create a multipage PDF with an array of ranges?

    I want to create a 3 page pdf with 3 different ranges in the same spreadsheet.

    How can I do this?

    Please Login or Register  to view this content.
    I am trying to use an array of ranges but I cant' get it to work!

    The 3 or more ranges I want to save to the same PDF file are

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: How to create a multipage PDF with an array of ranges?

    Hide the ranges you don't want printed.

  3. #3
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Sweden
    MS-Off Ver
    2016.
    Posts
    397

    Re: How to create a multipage PDF with an array of ranges?

    Hi jolivanes,

    thank you for your reply!

    I get what you mean but I am trying to print 3 ranges or more to the same PDF and I would like to keep the design of the spreadsheet intact?

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: How to create a multipage PDF with an array of ranges?

    Range("B85:AA145") includes Range("B145")
    In the next Range (Range("B145:200AA", I assume that should be AA200) you have it again.
    Do you want that Row (B145:AA145) printed twice or is this a misprint?
    Could this not be one Range as in Range("B85:AA200")?
    What does the hiding of rows do to the design?

  5. #5
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Sweden
    MS-Off Ver
    2016.
    Posts
    397

    Re: How to create a multipage PDF with an array of ranges?

    Silly me, it seems like it was as easy as adding the additional ranges within the range.

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Sweden
    MS-Off Ver
    2016.
    Posts
    397

    Re: How to create a multipage PDF with an array of ranges?

    Thank you for your reply and your help, you are correct that it was a misprint!

    I got it to work like I was trying to!

  7. #7
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: How to create a multipage PDF with an array of ranges?

    Good to hear and thanks for letting us know that you have it under control
    Good luck

    BTW, for people with a similar or the same problem that are searching this site for a solution, would you show your code?
    That would be a possible great help to them.
    Thanks
    Last edited by jolivanes; 10-01-2019 at 02:47 PM. Reason: extra info

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create a multipage userform
    By iot123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2019, 04:19 AM
  2. [SOLVED] Combine ranges and create array
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2019, 03:20 AM
  3. Replies: 1
    Last Post: 03-08-2016, 08:47 PM
  4. how to switch multipage page from multipage change event??
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-27-2015, 10:31 AM
  5. [SOLVED] Create an array of ranges
    By Angelfish13 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2013, 04:42 PM
  6. [SOLVED] Can you create dynamic named ranges containing array formulas?
    By Marie J-son in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 09:10 AM
  7. [SOLVED] Create a Chart with Values from Array AND NOT from Ranges
    By syrhus in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-18-2005, 11:06 PM

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