+ Reply to Thread
Results 1 to 5 of 5

Need help with a formula to show the date the sheet was last editted on.

  1. #1
    Registered User
    Join Date
    03-06-2015
    Location
    St. Cloud, MN
    MS-Off Ver
    2013
    Posts
    3

    Need help with a formula to show the date the sheet was last editted on.

    I have a spreadsheet that I use as a project planner. I update it throughout the week as projects start/finish. My co-workers look at the spreadsheet to see where projects are at in the process. I would like them to be able to see when I last edited the document. I thought I knew excel pretty well until I came here and noticed the vast amount of knowledge and I think I might be average. I found a post where someone talked about macros and scripts and I am not familiar with that at all.

    I want the formula to look at edits in columns A-G and all rows.
    I want the "last edit date" to return in G2.

    Any help would be great!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help with a formula to show the date the sheet was last editted on.

    Hi, welcome to the forum

    This is not possible with refgular formulas, you would need VBA to do that. Let me know if this is an option you would consider?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-06-2015
    Location
    St. Cloud, MN
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help with a formula to show the date the sheet was last editted on.

    I definitely would, as long as you can walk me thru the process! Thank you for the welcome, I look forward to learning more!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help with a formula to show the date the sheet was last editted on.

    My VBA is not that good, but this seems to work. It puts the date in B2
    Adjust to where you want it

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

  5. #5
    Registered User
    Join Date
    03-06-2015
    Location
    St. Cloud, MN
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help with a formula to show the date the sheet was last editted on.

    Ok I set it up today and will test it tomorrow. I want to make sure that it shows the date the workbook was last edited, not just opened.

+ 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. Replies: 3
    Last Post: 09-04-2014, 08:17 PM
  2. Last editted User Name
    By Liju144 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2014, 03:26 PM
  3. [SOLVED] When workbook open it show the sheet have today date
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2013, 11:00 AM
  4. Date formula if positive show, if negative don't show.
    By Cyberpawz in forum Excel General
    Replies: 8
    Last Post: 03-14-2012, 07:49 AM
  5. How do I hide macros in Excel so they can't be editted?
    By Donald McAllister in forum Excel General
    Replies: 1
    Last Post: 08-02-2006, 05:10 PM

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