Closed Thread
Results 1 to 2 of 2

Print multiple PDFs from worksheet

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    United States
    MS-Off Ver
    2016
    Posts
    4

    Print multiple PDFs from worksheet

    Hello - I'm looking for some guidance on how to automate the print to pdf process for a series of periodic reports I have created. The first page and last page of each report are identical. Each is housed on a single tab. The body content of each report is unique and housed on single tabs. The reports are client-facing and it is imperative that they are uniform and of the highest fidelity possible. I have attached an abbreviated version of the report.

    My current process for report creation. We'll use the Aerospace & Defense report as an example.


    First Page - Do once and splice into all reports after I have finished.
    1. Select first tab
    2. print to PDF - My print settings are already saved to the workbook so nothing needs to be done here
    3. Save as a certain file name

    Body Content and Last Page - Loop for all 15 current reports(this number can increase or decrease)
    1. Select both Aerospace & Defense tab and last page tab
    2. print to PDF - My print settings are already saved to the workbook so nothing needs to be done here
    3. Save as a certain file name

    I do not print all three sections at once due to how I have the footers set up. I'm open to suggestions if there is a better way to do this.
    • First page has no footers
    • Body content first page has no footer, all successive pages have footers,
    • Last page has no footers

    I would love to be able to click one button and have the macro loop through the creation of all necessary reports based on an existing range('Worksheet Key'!C5:C19) of report names. The ultimate goal would be to not have to do anything outside of excel to prepare the reports for publishing but I'd be content with a macro that just creates 15 reports containing only the body content and last page.


    The code below is as far as I've gotten. While it does work, it doesn't loop and wouldn't be very efficient.


    Please Login or Register  to view this content.
    Happy to answer any questions. Any help would be greatly appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,851

    Re: Print multiple PDFs from worksheet

    Closed at OP request. Will repost in Commercial Services.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Filter and print to PDFs
    By maximiliax in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-06-2018, 05:12 PM
  2. Replies: 5
    Last Post: 04-08-2017, 06:04 PM
  3. Replies: 1
    Last Post: 04-08-2017, 02:33 AM
  4. Print PDFs from IE hyperlinks in Excel
    By cwebb4ever in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2016, 03:53 PM
  5. Can print to pdf COMBINE the pdfs for me?
    By cheesefry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2015, 05:40 AM
  6. open and and print .pdfs in column D
    By johnson1421 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-25-2012, 07:52 AM
  7. Macro to print multiple worksheets to multiple PDFs.
    By ryanwood17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2010, 02:07 AM

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