K
Kim
I created a function in Excel to display the "Last Saved Date and Time" in a
cell. The code is as follows:
<
Function LastSaved( )
LastSaved = ActiveWorkbook.BuiltinDocumentProperties.Item(12)
End Function
After saving the modified file, the cell displays the "Last Saved Date and
Time". I tried to modify the file another time and saved it. The cell however
does not change to the new date and time. But this was reflected under the
File -> Properties -> Statistics.
How can I update the cell to continuous display the right date and time
whenever the "Save" button is clicked ?
cell. The code is as follows:
<
Function LastSaved( )
LastSaved = ActiveWorkbook.BuiltinDocumentProperties.Item(12)
End Function
After saving the modified file, the cell displays the "Last Saved Date and
Time". I tried to modify the file another time and saved it. The cell however
does not change to the new date and time. But this was reflected under the
File -> Properties -> Statistics.
How can I update the cell to continuous display the right date and time
whenever the "Save" button is clicked ?