Hi all, i'm new to the site.
I have to produce a weekly report in excel and i want to track who open the report.
I have a script that tracks it in the document, but i want it to write it to another excel document on a shared drive, as not everyone saves it.
UserName = Environ("UserName")
myUser = "User: " & UserName & _
", On: " & Application.WorksheetFunction.Text(Now(), "m/d/yyyy at hh:mm AM/PM")
Worksheets("usage").Range("A65536").End(xlUp).Offset(1, 0).Value = myUser
End Sub
I have to produce a weekly report in excel and i want to track who open the report.
I have a script that tracks it in the document, but i want it to write it to another excel document on a shared drive, as not everyone saves it.
UserName = Environ("UserName")
myUser = "User: " & UserName & _
", On: " & Application.WorksheetFunction.Text(Now(), "m/d/yyyy at hh:mm AM/PM")
Worksheets("usage").Range("A65536").End(xlUp).Offset(1, 0).Value = myUser
End Sub