ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last save date in excel 2000 (https://www.excelbanter.com/excel-programming/371686-last-save-date-excel-2000-a.html)

k2224z

Last save date in excel 2000
 
Does anyone know how to show the last date that an excel file was saved
within that same file in a cell.

Bob Phillips

Last save date in excel 2000
 

'-----------------------------------------------------------------
Function DocProps(prop As String)
'-----------------------------------------------------------------
Application.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


and enter in a cell such as
=DocProps ("last author")
or
=DocProps ("last save time")



--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"k2224z" wrote in message
...
Does anyone know how to show the last date that an excel file was saved
within that same file in a cell.





All times are GMT +1. The time now is 10:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com