+ Reply to Thread
Results 1 to 2 of 2

VBA refine code .PrintOut to define pdf Filename and current location

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    16

    VBA refine code .PrintOut to define pdf Filename and current location

    I have a macro that selects worksheets to be printed from worksheets that carry a value in cell A1.

    I am trying to adjust the code so that it will print the pdf file with a predetermined name, eg "Output.pdf" and into the folder that the excel file is currently saved

    I do not have the VBA skills to do it - I have been trying to find code in various forums, without luck.

    My code currently is:

    Please Login or Register  to view this content.

    Any help with refining the following area in particular will be greatly appreciated

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    01-06-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VBA refine code .PrintOut to define pdf Filename and current location

    I have now resolved this with the following code:

    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] How to edit the destination location of my current code
    By strud in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-14-2013, 05:12 AM
  2. [SOLVED] Refine code to remove repetition
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2012, 09:17 PM
  3. Help with formula of filename and saving filename as current time
    By hqradio in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 06:10 AM
  4. This piece of code is very slow - please help refine
    By kostas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-18-2009, 10:56 AM
  5. How to add filename for Acrobat printout?
    By techniq in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2007, 10:40 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