How do I report the filedate in an Excel2000 cell?

I

IaSwede

I want a cell to report the file's creation/last save date, as you can with
&[Date] in the header.
that way it will only update the date when I save the file (before i print
the updated file)
 
B

Bob Phillips

You need a udf

Function DocProps(prop As String)
Aplication.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties (prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


You would use like so

=DOCPROPS("last save time")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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