how to know the original creator of one excel?

B

Bob Phillips

'-----------------------------------------------------------------
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 such as
=DocProps ("Author")
 
M

MartinW

Hi Bob,

Is that any different to going to File>Properties>Summary tab?
In other words, is there something hidden deeper in the file that
contains this info?

Regards
Martin
 
G

Gord Dibben

Martin.

Only difference is Bob's function will return the property to a cell.


Gord Dibben MS Excel MVP
 

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