Hi all.
I have a userform that allows me to type in a username and a password.
This then is checked to a hidden sheet and if found it opens if not it returns an error as per bellow code;
Private Sub cmBtnLogin_Click()
Dim iFoundPass As Integer
On Error Resume Next
With...