Excel :Save date function

G

Guest

In a cell I would like to have a function that makes appear the last save
date (as it's possible with word insert/field/savedate).
Does someone know if this kind of function exists?

Thanks

Elodie
 
G

Guest

I have got my answer on the newgroup thanks to Frank Kabel.
Elodie


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top