Finding name of last user who modified Excel Spreadsheet

I

ibeetb

IS there code to find the name or userid of the last user who modified a
particular excel spreadsheet?
 
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")
 
S

Simon Livings

You could try using

ActiveWorkbook.BuiltinDocumentProperties("Last _
Author").value

to find this, although this may depend upon the individuals updating the
User name in Excel Options.

HTH
Simon Livings
 

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