Link to home
Start Free TrialLog in
Avatar of Druv M
Druv M

asked on

How to determine who last modified an Excel file

Guys, I am trying to find out a way to identify who modifies my excel file in office? I am using the code mentioned below but it's only giving me "Administrator" as the name who updated excel file instead of real person name.

Option Explicit

Private Sub Workbook_Open()
 
ThisWorkbook.Windows(1).Caption = ThisWorkbook.Windows(1).Caption & _
"   Last Updated By: " & _
ThisWorkbook.BuiltinDocumentProperties("Last Author") & _
" on " & _
ThisWorkbook.BuiltinDocumentProperties("Last Save Time")
 
End Sub
ASKER CERTIFIED SOLUTION
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial