+ Reply to Thread
Results 1 to 10 of 10

Prompting path to save the file

  1. #1
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2016
    Posts
    341

    Prompting path to save the file

    Hi Friends

    I am using the below code to save the particular worksheet on the desktop. I am defining the path in the code itself. However, I do not wish to define the path where to save instead, it should prompt asking where to save similar to "Save As" of the system.

    Please Login or Register  to view this content.
    Thanks in advance

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

    Re: Dynamic Save Path

    cross-post;http://www.mrexcel.com/forum/excel-q...save-path.html
    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."

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Dynamic Save Path

    Try using:-
    Please Login or Register  to view this content.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Prompting path to save the file

    Try this
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Prompting path to save the file

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.mrexcel.com/forum/excel-q...save-path.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2016
    Posts
    341

    Re: Prompting path to save the file

    Hi alansidman

    I had to post in other forum because when I was trying to post in this forum, server wasn't really helping, so I tried there but not to waste any time of the members. Moreover, when I saved only once, I could see two posts appear which was deleted however.

    I apologize sincerely. I will keep this thing in mind henceforth.

    Thanks.

    I would like your assistance for my query.

  7. #7
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2016
    Posts
    341

    Re: Prompting path to save the file

    @Vikas_Gautam

    @gmr4evr1

    Both the codes didn't work for me.

    Please Login or Register  to view this content.
    I am using this code to save my file with desired file name and path. However, I wish is that I should be prompted for the location where the sheet should be saved. The catch is, file should be saved in .prn format(as mentioned in the code).
    Last edited by Ravana; 03-07-2015 at 10:50 AM.

  8. #8
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Prompting path to save the file

    The code in Post #4 will open the "Save As" dialog box

  9. #9
    Forum Contributor
    Join Date
    09-16-2014
    Location
    Hyderabad
    MS-Off Ver
    MS Office 2016
    Posts
    341

    Re: Prompting path to save the file

    @gmr4evr1

    Instead of opening "Save As" dialog box, is it possible to save the file always on "Desktop" wheresoever I move the file(I mean like different Username systems).

  10. #10
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Prompting path to save the file

    I must have misunderstood when you said ....." it should prompt asking where to save similar to "Save As" of the system." in your original post.
    Last edited by gmr4evr1; 03-07-2015 at 11:06 AM.

+ 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 do I close a workbook without prompting to save file?
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2014, 06:31 AM
  2. [SOLVED] How do I close a workbook without prompting to save file?
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2014, 06:31 PM
  3. [SOLVED] Disable save and prevent "Do you want to save" message from prompting for read-only file
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2014, 12:29 AM
  4. [SOLVED] File closes without prompting to save
    By freyabeads in forum Excel General
    Replies: 0
    Last Post: 03-01-2006, 09:10 AM
  5. calculation - prompting to save when file closes
    By lpj in forum Excel General
    Replies: 0
    Last Post: 02-14-2006, 04:30 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