+ Reply to Thread
Results 1 to 3 of 3

Macro to pull in the worsheet name to save it as a PDF.

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    87

    Macro to pull in the worsheet name to save it as a PDF.

    Hello,
    When I run the macro I would it to save it to a PDF and also choose the name for a PDF based on the worsheet name. I have the macro setup in which its prints the selected sheet but I have to manually enter the name for each PDF. How to write to code so that the name = worksheet name? Below is the code.
    Printer can be either Adobe PDF or CutePDF.
    Please Login or Register  to view this content.


    Thanks,
    Aadesh Gandhi

  2. #2
    Registered User
    Join Date
    01-31-2013
    Location
    Xuzhou
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to pull in the worsheet name to save it as a PDF.

    I do NOT have the answer - but exactly the same issue. Look forward to see the administrators answer! Thank you aadeshgandhi to post this issue.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Macro to pull in the worsheet name to save it as a PDF.

    Quote Originally Posted by SEOSEO.dk View Post
    I do NOT have the answer - but exactly the same issue. Look forward to see the administrators answer! Thank you aadeshgandhi to post this issue.
    SEOSEO,
    I was able to get two ways for it to work,
    1) This will save the PDF in the same directory as the worksheet.
    Please Login or Register  to view this content.
    2) This will save the PDF to the desktop.



    Please Login or Register  to view this content.

    I hope this works for you.



    Thanks,
    Aadesh Gandhi

+ 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