Forum Discussion
Old Value Cell Reference
I am new to VBA and know only what I can find online. I fixed the time stamp in all areas except the admin pages as I can not get that to work. But the circular references are turned off and the error is gone. Perhaps you can help me now. the pas word is 1234
I appreciate it.
jdavis1994 i made a few tweaks.
I changed the worksheet functions from SelectionChange to Change so that it will create the timestamp and user name only when the value is entered/changed
I commented some items out that caused issue
I added the user name entries
I changed the action when you 'x' out of the login window to give option to close the workbook
Hope it is working how you hoped.
FWIW I really hope you don't consider this password protected in any way or even any claim that users can't see each other's information. There are ways of making it 'better' but in general I would never consider an excel file to be secure.
- jdavis1994Sep 27, 2021Copper Contributor
This s was vey helpful! The security is more or less just to track who is in and out of the sheet. As I know they can get into VBA and disable the log in. The people I am using this for are not this savvy in VBA. So no real issues there. This was a problem when I sent it to you why does it show the user twice in the log?
- mtarlerSep 27, 2021Silver Contributor
jdavis1994 honestly I'm not too fond of this code but I'm not one to judge. That said I re-did some of it (again). I would probably re-do more if I knew exactly what you needed and that I wouldn't be un-doing some functionality you intended. Tell me what you need and what exactly this is not doing right.