Display Properties ->Statistics

K

Khawar

Good day,

I wanted to find out if there is a way of displaying the
Properties -> Statistics of a workbook on a sheet in the workbook?

I would like to display and automatically update the following statistics.

Created:
Modified:
Accessed:
Printed:
Last Saved by:

Best Regards
Khawar
 
F

Frank Kabel

Hi
use the following UDF:

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 author")
or
=DOCPROPS("last save time")
 

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