Last Updated Excel File

  • Thread starter Thread starter meyerryang
  • Start date Start date
M

meyerryang

I know that if you look at the properties you can determine when a
spreadsheet was created it and who created it (username account). Can you
determine the last user who updated it?
 
Use the below UDF.If you are new to VBA set the Security level to low/medium
in (Tools|Macro|Security). From workbook launch VBE using short-key Alt+F11.
From menu 'Insert' a module and paste the below function. Save. Get back to
Workbook.

Function GetDocProperty(strKey)
Application.Volatile
GetDocProperty = CStr(ActiveWorkbook.BuiltinDocumentProperties _
(strKey))
End Function

In any cell use the below formula
=GetDocProperty("last author")

If this post helps click Yes
 
Use the below UDF.If you are new to VBA set the Security level to low/medium
in (Tools|Macro|Security). From workbook launch VBE using short-key Alt+F11.
From menu 'Insert' a module and paste the below function. Save. Get back to
Workbook.

Function GetDocProperty(strKey)
Application.Volatile
GetDocProperty = CStr(ActiveWorkbook.BuiltinDocumentProperties _
(strKey))
End Function

In any cell use the below formula
=GetDocProperty("last author")

If this post helps click Yes
 

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

Back
Top