I am trying to implement code to disable the shift key. I have a Password Form that if password is correct opens another form named frmSetCloseState and it is here that you can enable or disable the shift key. When this form is opened it asks if you want to enable the shift key, if so the forms command button is visible and enabled, else it is not and the form closes.
Here is my code error: Pic Attached