If you want a function that can be called from a worksheet cell, use
Function LastSaveTime(R As Range) As Date
Application.Volatile True
With R.Worksheet.Parent
If .FullName <> vbNullString Then
LastSaveTime = CDate(FileDateTime(.FullName))
End If
End With
End Function
Then call this from a cell with the formula
=LastSaveTime(A1)
The cell passed to the function doesn't matter. It is used to select the
workbook whose last save time is to be returned.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)