I want to create a log of everyone who opens a particular workbook. I'm using Excel 2003. I found this macro, and created a worksheet called "Log", but I've opened the workbook several times and nothing appears on the Log sheet. What am I missing?
![]()
Private Sub Workbook_Open() Worksheets("Log").Range("A65536").End(xlUp).Offset(1, 0).Value _ = Format(Now(), "mm-dd-yy HH MM AMPM") Worksheets("Log").Range("B65536").End(xlUp).Offset(1, 0).Value _ = Environ("UserName") End Sub
Bookmarks