Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: =LastSaved Formula

  1. #1


    Is there a formula that will return in a cell the time and date of the last time the file was saved?

  2. #2
    MrExcel MVP Tom Urtis's Avatar
    Join Date
    Feb 2002
    San Francisco, California USA
    Post Thanks / Like
    1 Post(s)
    1 Thread(s)


    I am not aware of a formula that can do that, but you can achieve this effect by using VBA.

    Locate the Excel workbook icon just to the left of the File menu option, near the upper left corner of your screen. Right click on that icon, then left click on View Code, and paste this in:


    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
    Sheet1.[A1] = "File was last saved " & Now
    End Sub


    This will place the information you want in cell A1 of Sheet1; modify for sheet and desired cell.


Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts