I have this code that creats a log of when a workbook is opened
How could I change this to
1. write to an excel file rather than a notebook file.
2. to show open and close times .
Any help would be appreciated .
VBA Code:
Private Sub Workbook_Open()
Open "\\Dtc06\newheart\Jim Todd\Testing_Recovered\RDC_Excel_testing\UserLogs\testlog.log" For Append As #1
Print #1, Application.UserName, Now, ThisWorkbook.Name
Close #1
End Sub
How could I change this to
1. write to an excel file rather than a notebook file.
2. to show open and close times .
Any help would be appreciated .