vbInformation, "Login" 'You may change this line here. call the form rather than displaying a message box! ElseIf txtPassword.Text = "" Then MsgBox "Password .