ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Tracking who accesses a spreadsheet (https://www.excelbanter.com/excel-discussion-misc-queries/75721-tracking-who-accesses-spreadsheet.html)

juamig

Tracking who accesses a spreadsheet
 
Is there any type of add-in for excel that would track and provide info on
who accesses a spreadsheet that is located in a shared folder? If not is
there any suggestion on how to get this info?

Rich Mcc

Tracking who accesses a spreadsheet
 
add a new page called log then use this macro


Sub auto_open()
Application.ScreenUpdating = False
Sheets("log").Select
Rows("3:3").Select
Selection.Insert Shift:=xlDown
Sheets("log").Range("C3") = Application.UserName
Sheets("log").Range("a3") = Now()
Sheets("log").Range("b3") = Now()
Sheets("log").Range("d3") = "Open Workbook"
Rows("3:3").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
Range("A3").Select
Selection.NumberFormat = "dd-mmm-yy"
Range("B3").Select
Selection.NumberFormat = "h:mm"
Application.ScreenUpdating = True
End Sub

of course this not save the log file if the workbook is closed without
saving it, but you could had a autosave line to facilitate this



"juamig" wrote:

Is there any type of add-in for excel that would track and provide info on
who accesses a spreadsheet that is located in a shared folder? If not is
there any suggestion on how to get this info?



All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com