+ Reply to Thread
Results 1 to 5 of 5

Choose where to save

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Choose where to save

    Hi.
    How can I do to display the screen for the user to choose the save location, instead of the macro already forward alone?

    Please Login or Register  to view this content.
    I need to have the option of where to save
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Choose where to save

    You can change...
    Please Login or Register  to view this content.
    ... to use a variable path, i.e. myFilePath, and set the filepath using a function like this:

    Please Login or Register  to view this content.
    ... then something like this before you export the PDF...

    Please Login or Register  to view this content.
    Lots of ways to implement it. It is modified from some code I found a year or two ago so I don't take full credit. Hope it helps.

  3. #3
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Choose where to save

    Try (57 is the filetype number for PDF)

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  4. #4
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Choose where to save

    Hi.

    Akarel worked thank you!
    Ollieb, su code generated an error.
    "The file was not saved"

  5. #5
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Choose where to save

    marreco,

    this is the normal Excel file dialog for saving a workbook, except it will do save as pdf. I trust you have changed the name of the file to:

    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)

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