+ Reply to Thread
Results 1 to 7 of 7

Macro to open the save as dialogue box

  1. #1
    Registered User
    Join Date
    04-30-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Macro to open the save as dialogue box

    I have our timesheets in Excel. To make it easier for our CEO to approve them I would like to have a button linked to Macro.

    At a Minimum I would like it to open the Save As dialogue box with the file type changed to PDF, the save location changed to a specific spot.

    Ideally it would be great if it could do the following

    1. Save As PDF
    2. In a specific spot
    3. with "B2 - A12" as the file name, and
    4. Either automatically place the CEO's Dynamic Approved Stamp on the document (Including name, date and time) or at least open the PDF so she can stamp it. TEMPLATE - Timesheet.xlsm

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Macro to open the save as dialogue box

    so you want to save as PDF in specific spot? or would you want to save the file in specific spot?

    filename = B2 and A12?

    A12 is a date and "/" is not allowed in system naming
    do you want to delete the / or replace with -
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Macro to open the save as dialogue box

    try this

    Please Login or Register  to view this content.
    change both drive and path to suit your setup
    i did both pdf and excel
    just delete whichever you don't want or leave if you want both
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-30-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Macro to open the save as dialogue box

    That is awesome, thank you! I just need it to open the PDF once saved so the CEO can stamp it authorised then close it. The excel documents are located in a very different spot to where they are being saved so it will save a lot of time if it opens, she stamps it, saves it again and closes it.

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Macro to open the save as dialogue box

    change
    OpenAfterPublish:=true

  6. #6
    Registered User
    Join Date
    04-30-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Macro to open the save as dialogue box

    You are a legend! Thank you!!

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Macro to open the save as dialogue box

    not a problem

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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 - Open Save As dialogue box - to save named range
    By Jabba69 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2014, 10:34 AM
  2. Command button to open Save As dialogue box for new spreadsheet and copy data.
    By valhallaone in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-20-2013, 07:08 PM
  3. Macro Save As .xlsx dialogue box
    By LostInVB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-02-2013, 10:45 AM
  4. VBA/Macro Code needed to open 'Save As' dialogue box and set the file type to CSV
    By daleski in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 12:58 PM
  5. [SOLVED] VBA code to 'click' Open in the Open or Save dialogue box on a webpage?
    By bensox in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-31-2012, 05:40 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