ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula to display Modified properties (https://www.excelbanter.com/excel-worksheet-functions/137473-formula-display-modified-properties.html)

Paul

formula to display Modified properties
 
Is there a formula I can use that will display the date & time the file was
last modified?

Thanks!

Mike

formula to display Modified properties
 
From Gary's Student

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)


"Paul" wrote:

Is there a formula I can use that will display the date & time the file was
last modified?

Thanks!



All times are GMT +1. The time now is 03:34 AM.

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