Sep 13 2021 05:46 PM
Sep 13 2021 05:46 PM
I have a workbook I have built that I am so close to finishing. The issue I am having is the workbook has a login user form, the admin sheet logs who is logged on, and when I have a cell that shows who the current user is. In another sheet there is a dynamic table, there are item codes that the employees enter and it will reference the item and time stamp the item to show when it was changed. I need to reference the cell that shows the current user BUT not change the cell of each row when a new user is logged in. Please help, I have researched this for several hours with no luck with my particular application. Images attached
Sep 15 2021 06:01 AM
Sep 18 2021 01:03 PM
Please see attached. As far as time stamps go, no I was just using a formula in the cell duplicated using the table. the ID to get in is 1234
There are some things that I have been working on adding and have run into snags as well but those are to come.
Thanks for the assistance!
Sep 21 2021 08:07 AM
Sep 23 2021 12:39 PM
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.
Sep 23 2021 01:37 PM
@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.
Sep 27 2021 05:11 PM
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?
Sep 27 2021 06:42 PM
@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.