It's a really small code, but a problem nonetheless:
Private Sub Command1_Click() If Text1.Text = "jordan" Or "Jordan" And Text2.Text = "fail" Or "fail" Then Let MsgBox = "Congratulations, 2 out of 2 correct." Else: MsgBox = "Unlucky, you got 1 or less incorrect." End If End Sub
It's obvious; you input a word, click the button and a pop-up happens telling you if you got it correct or not. For some reason, there something wrong with the MsgBox = "" code I'm using, any help here lads?
Well anyway, I want it to verify if the inputted words are jordan and fail, if so or if not a message box will appear. Thanks in advance lads, I really do appreciate it.
As a side note, do I need to tell it to check for Jordan and jordan or will jordan check for the letter regardless of capitalization?


Sign In
Create Account


Back to top









