S
Steved
Hello from Steved
I was kindly given the below UDF function from Frank Kabel
I have excel xp office at home but 2000 at work
I would like to get it to function so that I understand
how it works. in B3 i've put =DocProps it has put
in #NAME? What am I doing thats not right please.
ps I've put in VBA could this be an issue.
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
Now you can use the following formula in one of your
cells:
=DocProps("Last save time")
I was kindly given the below UDF function from Frank Kabel
I have excel xp office at home but 2000 at work
I would like to get it to function so that I understand
how it works. in B3 i've put =DocProps it has put
in #NAME? What am I doing thats not right please.
ps I've put in VBA could this be an issue.
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
Now you can use the following formula in one of your
cells:
=DocProps("Last save time")