+ Reply to Thread
Results 1 to 5 of 5

Save Excel Userform to PDF

  1. #1
    Registered User
    Join Date
    10-14-2014
    Location
    Rochester, NY
    MS-Off Ver
    2010
    Posts
    7

    Save Excel Userform to PDF

    I have a multi-page Excel Userform that is currently set to print to the user's default printer upon clicking a command button. I would like to change this so that the form prints to PDF but I can't seem to find the right code.

    If possible, I would like all three pages of the userform to print to one PDF file.

    Any help would be much appreciated!

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Save Excel Userform to PDF

    Hi there!

    If you have a PDF printer installed you can insert
    Please Login or Register  to view this content.
    so the user can choose the PDF printer.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Registered User
    Join Date
    10-14-2014
    Location
    Rochester, NY
    MS-Off Ver
    2010
    Posts
    7

    Re: Save Excel Userform to PDF

    I added your code and it did bring up a dialog box so I could select CutePDF Writer as my printer, but the PDF document never opened. I added Me.PrintForm after your code and tried again, but still didn't see a PDF file open. Any suggestions? I think we're on the right track.

  4. #4
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Save Excel Userform to PDF

    You didn't see a PDF file open but did CutePDF created a file on its default folder? (or last used folder?)

  5. #5
    Registered User
    Join Date
    10-14-2014
    Location
    Rochester, NY
    MS-Off Ver
    2010
    Posts
    7

    Re: Save Excel Userform to PDF

    If it did I can't find where it saved the file. What I really need is for the PDF copy to open up so that the user can then either save it or print it. Is that possible?

+ 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. UserForm listbox transfer to excel and save
    By trevsiob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2014, 07:52 AM
  2. How Userform Commandbutton actually Save data into excel sheet?
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 11:55 AM
  3. [SOLVED] UserForm in Excel- command button to save record
    By PANTECH in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 11:50 AM
  4. Save excel userform
    By gengilino in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 09-06-2011, 02:13 PM
  5. [SOLVED] excel userform save problem
    By Pierre via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2005, 03:05 PM

Tags for this Thread

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