If TextBox2.Text = "test" & TextBox1.Text = "test" Then
MsgBox("Test")
Else
MsgBox("Fail")
End If
If TextBox2.Text = "test" and TextBox1.Text = "test" Then
MsgBox("Test")
Else
MsgBox("Fail")
End If



If Textbox1.text = "test" Then
If Textbox2.text = "test" Then
Msgbox("Test")
Else
Msgbox("Failed")
End if
End If


If Textbox1.text = "test" Then
If Textbox2.text = "test" Then
Msgbox("Test")
Else
Msgbox("Failed")
End if
End If


