Record when spreadsheet was saved in a cell

jeddbonilla

New Member
Joined
Dec 14, 2016
Messages
2
Hi Forum Members

I tried searching this topic on the forum board, however I don’t even know how to properly search so I need some help.

I manage an RMA spreadsheet for our company with several other co-workers that collaborate on this same shared spreadsheet. What I am wondering is if there is a way that when this spreadsheet is saved, on the actual spreadsheet, could a given cell represent the date and time it was last saved? If this isn’t possible, how about in the title?

Any suggestions you have would be greatly appreciated!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Put this code in a standard code module
Code:
Function LastSavedTimeStamp() As Date
  LastSavedTimeStamp = ThisWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function


Put this formula in the cell where you want the last saved date and time.
=LastSavedTimeStamp()
And format the formula cell with any date-time format you like.
 
Last edited:
Upvote 0
Put this code in a standard code module
Code:
Function LastSavedTimeStamp() As Date
  LastSavedTimeStamp = ThisWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function


Put this formula in the cell where you want the last saved date and time.
=LastSavedTimeStamp()
And format the formula cell with any date-time format you like.

It worked! Thank you so much! This will definitely help our workflow!
 
Upvote 0

Forum statistics

Threads
1,196,231
Messages
6,014,138
Members
441,805
Latest member
rwm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top