+ Reply to Thread
Results 1 to 7 of 7

auto plug in cell as save as (multi)

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    tennessee, nashvile
    MS-Off Ver
    Excel 2007
    Posts
    6

    auto plug in cell as save as (multi)

    I have a workbook that has 3 sheets. On sheet 2 (A9) value to be plugin automatically as the file name, when I want to save as.
    file save as format: A9(customers name) A10(date) A11(repair done)

    I am very new to this. thank you

  2. #2
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: auto plug in cell as save as (multi)

    To do this you are going to have to use VBA. Also in order for it to work correctly the dates will have to formatted as text and the proper save methods for excel. For example no "/" in your date which is going to be text. This could make problems for other things in your sheet. Also you will need a helper cell to concat the cells you need.

    Hopefully since I'm still semi new at this someone can come in school us both and get the job done nice and easy, but until then use this:

    Please Login or Register  to view this content.
    Last edited by nemo74; 05-14-2013 at 05:47 PM.

  3. #3
    Registered User
    Join Date
    04-05-2013
    Location
    tennessee, nashvile
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: auto plug in cell as save as (multi)

    Quote Originally Posted by nemo74 View Post
    To do this you are going to have to use VBA. Also in order for it to work correctly the dates will have to formatted as text and the proper save methods for excel. For example no "/" in your date which is going to be text. This could make problems for other things in your sheet. Also you will need a helper cell to concat the cells you need.

    Hopefully since I'm still semi new at this someone can come in school us both and get the job done nice and easy, but until then use this:

    Please Login or Register  to view this content.
    I am not able to reply

  4. #4
    Registered User
    Join Date
    04-05-2013
    Location
    tennessee, nashvile
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: auto plug in cell as save as (multi)

    Quote Originally Posted by nemo74 View Post
    To do this you are going to have to use VBA. Also in order for it to work correctly the dates will have to formatted as text and the proper save methods for excel. For example no "/" in your date which is going to be text. This could make problems for other things in your sheet. Also you will need a helper cell to concat the cells you need.

    Hopefully since I'm still semi new at this someone can come in school us both and get the job done nice and easy, but until then use this:

    Please Login or Register  to view this content.
    ok I found out why I couldn't reply. thank you nemo for that. I found this code
    Please Login or Register  to view this content.
    two problems with this code. I changed the format extension from ".xls" to ".xlsx" because im using 2010 excel. I get a errors.
    problem two, can I have a pop up menu when I press on the command button, instead of auto saving.

  5. #5
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: auto plug in cell as save as (multi)

    You will stil need to change the date since you can't save "/" in excel filenames, I'm also not sure what you wanted in a pop up, or when you wanted it since you were not clear. So here, you have a button and pop up to confirm:

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: auto plug in cell as save as (multi)

    Did this work for you?

  7. #7
    Registered User
    Join Date
    06-11-2014
    Posts
    1

    Re: auto plug in cell as save as (multi)

    Nemo, I'm new to the forum and recently ran into the same issue, but using data from 4 different cells in the naming nomenclature. I wanted you to kow that I found this extremely useful. Once I modified it to the 4 strings and identified the correct cells and path to save, it worked like a charm! Thank you very much for your expertise!

+ 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