This is basicly checking if the same text has been entered into two different boxes and when I press a button and they are the same I want a message to be shownVB Code:
Private Sub Command3_Click() Dim pass1 As String Dim pass2 As String pass1 = Jorn pass2 = Jorn If pass1.Text = pass1 & pass2.Text = pass2 Then MsgBox "Correct" Else MsgBox "Hahah" End If End Sub
Why do I get the error invalid qualifier? vb highlights this bit
Private Sub Command3_Click()
help please
