Flora Edwards
asked on
How can i trace any changes made in my mastersheet via VBA?
I need help with tracking any changes made by users on a file shared in a network drive.
i want to be able to see in the log sheet who changed what cell and when?
i tried googling but could not find anything useful.
thanks.
i want to be able to see in the log sheet who changed what cell and when?
i tried googling but could not find anything useful.
thanks.
ASKER
I have another worksheet called Logs
i want to store all changes there. this code did not work.
i want to store all changes there. this code did not work.
If you have SharePoint in your environment, then it can handle the versioning automatically. The users can easily check-out and check-in files.
I would personally prefer to build a custom database/application to handle such scenarios. I am not sure if this is feasible in your scenario.
-KR
I would personally prefer to build a custom database/application to handle such scenarios. I am not sure if this is feasible in your scenario.
-KR
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I tried Fabrice Lambert code at my end and its producing the desired results. This is cool!
But if you think from Security aspect, then anyone can go and tamper the VBA code or even delete the Log sheet. Please check your security needs and then go ahead with this solution!
But if you think from Security aspect, then anyone can go and tamper the VBA code or even delete the Log sheet. Please check your security needs and then go ahead with this solution!
ASKER
Fabrice,
that is an excellent master piece
that is an excellent master piece
Use the workbook's sheetchange event:
Open in new window
Note: you'll probably want something more elaborated than a debug.print for logging.