All,
I'm making a user log-in form in excel that interfaces with a background database. I would like the form to signal when capslock is on and off. I have figured out how to test if it is on, but I cannot figure out how to detect when it is changed by the user. I tried inserting some code in the KeyPress event for the userform itself as well as the password entry textbox. Neither seem to work, and placing the code in the textbox KeyPress event doesn't make sense anyway because it would only check capslock when the user is typing in that specific textbox. Does anybody know of a way to detect when capslock is changed by the user?
-Joshua
If it's not broken, it doesn't have enough parts yet.
I'm making a user log-in form in excel that interfaces with a background database. I would like the form to signal when capslock is on and off. I have figured out how to test if it is on, but I cannot figure out how to detect when it is changed by the user. I tried inserting some code in the KeyPress event for the userform itself as well as the password entry textbox. Neither seem to work, and placing the code in the textbox KeyPress event doesn't make sense anyway because it would only check capslock when the user is typing in that specific textbox. Does anybody know of a way to detect when capslock is changed by the user?
-Joshua
If it's not broken, it doesn't have enough parts yet.