+ Reply to Thread
Results 1 to 5 of 5

Auto fill filename in “Save As” box

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Auto fill filename in “Save As” box

    HI All,

    I have master workbook which contain two sheet “DATA” & “File format”.

    I need to add new work & paste “DATA” sheet in new workbook. Delete all other blank sheets from new book.

    In my master book, “File format” sheet have value in D7. D7 value should be my new workbook file name.

    I want to open the 'save as' box, and have it fill in the filename based on the value in 'D7' but I DON'T want it to save (it can't save to the location where it’s opened from so it has to be saved elsewhere.)

    File name should prefill in “Save As” box after that code will allow user to save file where he/she want to save the file.

    Please help me in this.

  2. #2
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Auto fill filename in “Save As” box

    Hey,

    If you upload your sample file with the sample data....I will give you the code.....

  3. #3
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Auto fill filename in “Save As” box

    Hi,

    Thanks for your reply. As requested please see attached data.
    Attached Files Attached Files

  4. #4
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Auto fill filename in “Save As” box

    Hey

    Here goes your code:-
    Please Login or Register  to view this content.

    I have inserted the code in the attached workbook..
    Akulka58.xlsm
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  5. #5
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Auto fill filename in “Save As” box

    Thanks Lokesh. Its works perfectly.

+ 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. macro to bring up stored workbook, auto save to a new folder, then auto fill
    By Rick23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-29-2014, 06:58 PM
  2. [SOLVED] Read out Filename and Save all Sheet as Filename.pdf
    By bluesurger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2014, 02:34 AM
  3. Auto save file copy with unique filename
    By Allen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2006, 03:25 PM
  4. Auto save at intervals to new filename in excel
    By Lokesh Patel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 06:20 PM
  5. Auto save at intervals to new filename in excel
    By Lokesh Patel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 06:17 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