+ Reply to Thread
Results 1 to 3 of 3

Need VBA Code to save as PDF

  1. #1
    Registered User
    Join Date
    11-01-2007
    Posts
    46

    Need VBA Code to save as PDF

    Hi all!

    First, thanks everyone for being so helpful! I need to create a button in an excel workbook that you can click to save sheets to PDF... it selects the following sheets: "Cover Page", "Cover Letter", "Payback Summary", "Purchase Order", "Cash Flow", "Environment", "Warranty", "Terms & Conditions" and then prompts for a location to save the PDF to.

    Can anyone help?

    Thanks!
    Mike
    Last edited by FFMikeM; 02-19-2015 at 06:30 PM.

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Need VBA Code to save as PDF

    Hello,

    Here's a my "goto" link when it's time to save as PDF.
    This should get you started.

    http://www.rondebruin.nl/win/section1.htm
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: Need VBA Code to save as PDF

    Something like this; It save in the location and name file as the workbook.
    Please Login or Register  to view this content.
    Please click the * Add Reputation if this helps
    If solved remember to mark Thread as solved

    "I'm glad to help and this is not meant to sound smart, but either you have super-human vision to see all those controls cleared one by one with the code I posted, or your computer is really slow."

+ 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] VBA code to save current worksheet as temporary PDF file and then add to my existing code
    By brianfromla in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2014, 08:35 AM
  2. VBA Save as - save 1 sheet and no code?
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2010, 01:21 PM
  3. Code, that disables save, save as and close commands
    By mgmetev in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2009, 06:31 PM
  4. [SOLVED] Placing a code before Save & Save As
    By Alex Martinez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2005, 02:05 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