+ Reply to Thread
Results 1 to 6 of 6

Need code to save under filename drawn from specific cell

  1. #1
    Registered User
    Join Date
    03-18-2009
    Location
    Indio, California
    MS-Off Ver
    Excel 2002
    Posts
    3

    Need code to save under filename drawn from specific cell

    (Excel 2002)

    Sorry, newbie... I searched and got close to this but no luck. I did however learn how to add buttons to the worksheet and assign macros to them, so I'm on my way...


    The goal is to allow users to open a generic form, fill it out, then click the "Save This" button. The file will then save using the contents of C4 appended by today's date as the filename.

    Later on they come back to this same form to update it, after which they hit the "Update This" button.

    I don't need to track revisions so button 2 simply requires #ActiveWorkbook.Save#, so that's all taken care of.

    Any help on button 1? Thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need code to save under filename drawn from specific cell

    Hi,

    Something like

    Please Login or Register  to view this content.
    perhaps...?

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-18-2009
    Location
    Indio, California
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Need code to save under filename drawn from specific cell

    Very nice, thanks. Now how about appending today's date?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Need code to save under filename drawn from specific cell

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    03-18-2009
    Location
    Indio, California
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Need code to save under filename drawn from specific cell

    Excellent...thanks to both

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Need code to save under filename drawn from specific cell

    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

+ 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