+ Reply to Thread
Results 1 to 5 of 5

Help with Print pdf copies of the worksheets

  1. #1
    Registered User
    Join Date
    04-03-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Help with Print pdf copies of the worksheets

    Re-posting with the attachment

    Hello,


    I need a macro for the below situation. As always thanks in advance for your help.


    Excel file - I have a file with multiple worksheets and the number of worksheets always changes. Page setup and everything is already set up for all the worksheets.

    I want separate pdfs to be created for the worksheets but want to bundle up the 2 worksheets together. Explaining in detail below

    - 1st worksheet is the master tab so need be printed in a pdf with the name as per the worksheet name.
    - 2nd and 3rd worksheet to be printed in one pdf, renaming them with the name of 3rd worksheet name.
    - 4th and 5th worksheet to be printed in one pdf, renaming them with the name of 5th worksheet name.
    - 6th and 7th worksheet to be printed in one pdf, renaming them with the name of 7th worksheet name.

    The number of worksheets will be different each time i run the macro but they should be printed as described above - in a pair leaving the 1st tab.
    Everything should be saved in the same folder where the source file and macro is... thanks a lot in advance.

    Regards,
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Help with Print pdf copies of the worksheets

    I got it to work with this:

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    04-03-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Help with Print pdf copies of the worksheets

    Wow. thank you so much. Worked like a charm. I was going crazy

  4. #4
    Registered User
    Join Date
    04-03-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Help with Print pdf copies of the worksheets

    Can you please help with something more to this..

    I would like to add some actions to the above macro script.

    Can we have autofit for the Row 6 on all the worksheets and once autofit is done can we increase row height for them by "+2" ?

    Problem is that the Row 6 is the header but contents are not getting printed properly in the pdf; top text portion of the cells is not coming properly in the pdfs.

    Thanks in advance for all your help.

    Quote Originally Posted by daffodil11 View Post
    I got it to work with this:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Help with Print pdf copies of the worksheets

    Please Login or Register  to view this content.

+ 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. [SOLVED] CNTRL-P continues to print 7 copies
    By mbdigital in forum Excel General
    Replies: 0
    Last Post: 11-19-2014, 05:03 AM
  2. Print button fucntion to determine if 2 copies or 3 copies are printed
    By internalglitch in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2014, 10:20 AM
  3. Print number of copies
    By Tarique in forum Excel General
    Replies: 2
    Last Post: 04-24-2006, 02:50 PM
  4. Print number of copies box
    By EMoe in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 11:09 AM
  5. HOW DO I PRINT MULTIPLE COPIES IN EXCEL
    By jbenowl16 in forum Excel General
    Replies: 3
    Last Post: 07-04-2005, 01:05 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