![]() |
Saving username into a cell
I would like to enter the name of the last person to modify a document into a
specific cell so that when I look at it I can see who last changed the document. Is this even possibe? |
Saving username into a cell
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Sheets("Sheet1").Range("A1").Value = Date & " " & Time Sheets("Sheet1").Range("A2").Value = Environ("username") End Sub "thudson" wrote: I would like to enter the name of the last person to modify a document into a specific cell so that when I look at it I can see who last changed the document. Is this even possibe? |
All times are GMT +1. The time now is 04:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com