+ Reply to Thread
Results 1 to 7 of 7

Create a Submit button save filename as A1, submit email unc path, etc.

  1. #1
    Registered User
    Join Date
    12-24-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    16

    Create a Submit button save filename as A1, submit email unc path, etc.

    Ok guys I have a excel spread sheet that creates a value in Cell A1. It also disables the save and save as function. I now want to do a few other things.

    I want a submit button that will do the following:

    1. Create file in \\servername\folder\valueincellA1.xls
    2. This file should then be saved to disable the macro the creates that value in A1. I don't want the value in A1 Changing once this new file is created.
    3. The submit button should also bring up outlook and auto populate subject "SSR has been created" and the body should contain unc path to file and its name.
    4. The submit button should continue function through itslife because it may be changed and emailed serveral times. Here is a clip of the code I have so far.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 12-24-2009 at 12:16 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    Hello briant97,

    Welcome to the Forum!

    To make your posts easier to read, copy, and edit please wrap your code. I did it for you this time. Here is how you can do it next time.

    How to wrap your Code using the # icon
    1. Select all your code using the mouse.
    2. Click on the # icon on the toolbar in the Message window. This will automatically wrap the text you selected with the proper Code tags to create a Code Window in your post.

    To manually insert the tags
    Use the Bulletin Board Code Tags
    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] at the end of the last line.


    To learn more about BB codes used in this forum, just click on the link below...

    Bulletin Board Codes Tags
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    12-24-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    Ah sorry about that.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    Hello briant97,

    No need to be sorry, you're new. Did you want the file contents to overwrite any old data?

  5. #5
    Registered User
    Join Date
    12-24-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    The original form should always stay blank. So they will open file 1.xls to fill out for example. File 1.xls should always stay the same. However when they when it saves from the field in A1 to say file 2.xls. That file should be able to be changed. It is going to be edited several times before its finished. However 2.xls should disable the function to add the to the cell value A1. It should also save what is then written to it.
    Last edited by briant97; 12-28-2009 at 10:57 AM.

  6. #6
    Registered User
    Join Date
    12-24-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    I see that this thread is used quite often and my request has been buried pretty deep now. I still have yet to figure out how to do this fully. Is there anyone out there that may be able to assist or at least point me in the right direction.

  7. #7
    Registered User
    Join Date
    12-24-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Create a Submit button save filename as A1, submit email unc path, etc.

    It looks like this thread has been lost. Anybody out there that can help.

+ 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