+ Reply to Thread
Results 1 to 9 of 9

Printing multiple worksheets to a single pdf file

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Printing multiple worksheets to a single pdf file

    Hi all,

    I am looking for a macro/vba code that will help me print multiple worksheets (roughly around 12 sheets) into a single excel file, taking into account the already defined 'print area' that i have set up. Im happy to change the name of the sheets, but just cant get the rest of the code right!

    I usually use PDF Creator if that helps at all.

    can anyone help with this?

    thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Printing multiple worksheets to a single pdf file

    Hi
    You dont need a macro, have a look at this link:
    http://www.excelforum.com/excel-form...-pdf-file.html
    Good luck
    Tony

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Printing multiple worksheets to a single pdf file

    Do you not just select all the sheet you want and print them? Something like:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-14-2005
    Posts
    13

    Re: Printing multiple worksheets to a single pdf file

    Quote Originally Posted by ragulduy View Post
    Do you not just select all the sheet you want and print them? Something like:

    Please Login or Register  to view this content.
    As stated above, if I do this the output will include the hidden sections where there will be blank pages

  5. #5
    Registered User
    Join Date
    08-14-2005
    Posts
    13

    Re: Printing multiple worksheets to a single pdf file

    Quote Originally Posted by ragulduy View Post
    Do you not just select all the sheet you want and print them? Something like:

    Please Login or Register  to view this content.
    sorry wrong post..

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Printing multiple worksheets to a single pdf file

    Which PDFCreator program to you have (developer/version)?

    If you don't want to do it like that you need to print them individually and collect them in the PDFCreator queue. Depends on what program you use as to whether it's possible from VBA.

  7. #7
    Registered User
    Join Date
    03-06-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Printing multiple worksheets to a single pdf file

    Hi Ragulduy,

    I am currently using Excel 2010, and when i click print i just select PDFCreator.

    i know that i can just select all the sheets manually and do it this way, but as i do this everyday, i was just hoping there might be a code or something similar to automate such an arduous task!

    cheers

  8. #8
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Printing multiple worksheets to a single pdf file

    This:
    Please Login or Register  to view this content.
    Is the same as selecting the sheets manually and pressing print.
    You can change the numbers to sheet name, for example:
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    03-06-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Printing multiple worksheets to a single pdf file

    How can i change it so that it prints to PDFCreator, rather than my desktop printer? thanks

+ 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. Printing multiple pages from different Worksheets into single PDF
    By Chris87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2014, 07:17 PM
  2. Printing Only Selected Sheets from Multiple Workbooks to A Single PDF File
    By westwojr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2014, 02:51 PM
  3. Exporting (printing) multiple worksheets as a single pdf file
    By Dano in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2008, 01:24 PM
  4. Printing PDF file with multiple worksheets- saving only first sheet
    By johnnywinter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2007, 01:03 AM
  5. Printing Multiple Worksheets as a single print job
    By MGatESSInc in forum Excel General
    Replies: 0
    Last Post: 11-17-2005, 10:55 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