Failed to login

Copper Contributor

I made a login screen using a userform, it was working properly whenever I pressed the login button.

I had set in my vba that the Excel document doesn't open if the user doesn't enter correct details.

During the process of developing it, I changed the login button name and I forgot to change it in the vba code. I saved everything, closed it and open it again.


I realised that I can't continue to login because the command is not there but again I can't go further to the document to write the correct command. Therefore, am stuck on the Login screen.

Any help?

1 Reply

@ssekwerobert Try holding down the left Shift key when you open the workbook. This should disable code from running automatically.