S
Steved
Hello from Steved
In an earlier post the below is what I require but I have
put in a excel 97 worksheet and found it is not working.
Please can you advise as to what is needed for it to work
in excel 97.
Function DocProps(prop As String)
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function
Now you can use the following formula in one of your cells:
=DocProps("Last save time")
In an earlier post the below is what I require but I have
put in a excel 97 worksheet and found it is not working.
Please can you advise as to what is needed for it to work
in excel 97.
Function DocProps(prop As String)
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function
Now you can use the following formula in one of your cells:
=DocProps("Last save time")