ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I capture the last saved time in Excel2003? (https://www.excelbanter.com/excel-worksheet-functions/8427-how-do-i-capture-last-saved-time-excel2003.html)

[email protected]

How do I capture the last saved time in Excel2003?
 
I want to capture the last saved time in a cell. Anybody know how to do this?

Thanks!

Frank Kabel

Hi
use the following UDF (only on workbook level):


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
=DOCPROPS("last save time")
(format cell as date)

--
Regards
Frank Kabel
Frankfurt, Germany
"
schrieb im Newsbeitrag
...
I want to capture the last saved time in a cell. Anybody know how to do
this?

Thanks!





All times are GMT +1. The time now is 05:13 AM.

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