Hi all,
I created a test workbook so I can work on a way to capture and record user activity in my workbooks, and record any changes made into a log.txt file, and then email the log file to me.
We've recently had problems with workbooks being modified without proper authorization so I needed something quick and dirty to catch the culprit.
The idea here is to try to *rollback* any changes made after a file was saved using the data captured in the log. Sounds pretty simple right?
My problem is: The code works fine, and quite efficiently (its so quick, the user doesn't even know it ran). But... I haven't figured out a way to capture changes made to multiple ranges at a time.
For Example: If a User Selects A1 to A5, and then puts 1,2,3,4,5 into those cells, it won't record it. Because Target.Value won't give me anything if the Target.Address = "$A$1:$A$5"
I don't have cloud storage or a free account to any webiste to store my file for your viewing and testing pleasures.
email me @ nackyk@live.ca if you're interesting in solving this problem so I can send you this file (currently I'm at work, and can't post the file (security reasons).
Have a nice day fellas.
Nacky
I created a test workbook so I can work on a way to capture and record user activity in my workbooks, and record any changes made into a log.txt file, and then email the log file to me.
We've recently had problems with workbooks being modified without proper authorization so I needed something quick and dirty to catch the culprit.
The idea here is to try to *rollback* any changes made after a file was saved using the data captured in the log. Sounds pretty simple right?
My problem is: The code works fine, and quite efficiently (its so quick, the user doesn't even know it ran). But... I haven't figured out a way to capture changes made to multiple ranges at a time.
For Example: If a User Selects A1 to A5, and then puts 1,2,3,4,5 into those cells, it won't record it. Because Target.Value won't give me anything if the Target.Address = "$A$1:$A$5"
I don't have cloud storage or a free account to any webiste to store my file for your viewing and testing pleasures.
email me @ nackyk@live.ca if you're interesting in solving this problem so I can send you this file (currently I'm at work, and can't post the file (security reasons).
Have a nice day fellas.
Nacky