Show last saved date and time

To display the last date and time the workbook was saved we need to create a new function in Excel, with the use of VBA, that can then be applied as any other Excel function

Example: Show last saved date and time

Last saved data and time

METHOD 1. Show last saved date and time

VBA

Function LastSavedDateTime() As Date
LastSavedDateTime = ThisWorkbook.BuiltinDocumentProperties("Last Save Time")

End Function

ADDITIONAL NOTES
Note 1: This VBA code creates a new function that can be used to show the last date and time that the workbook was saved.

METHOD 1. Show last saved date and time

EXCEL

=LastSavedDateTime()
This function was created in VBA, as per the VBA code above, displays the last date and time that the workbook was saved.
Note: for this function to work you must first create the VBA code, as per the VBA example.

Explanation about the formula used to show last saved date and time

EXPLANATION

EXPLANATION
To display the last date and time the workbook was saved we need to create a new function in Excel, with the use of VBA, that can then be applied as any other Excel function.

FORMULA
=LastSavedDateTime()