thaburner
asked on
Text Box Easy Problem
This is the code I am using, How do i make it where it doesnt matter what case the letter is in for it to carry out the action if the two txt boxes are the same. Example TEST or Test.
Private Sub txtID_Change()
If txtState.Text = txtcountry.text Then
MsgBox "The Country can not be the same as the State.", vbCritical
txtID.Text = ""
End If
End Sub
Private Sub txtID_Change()
If txtState.Text = txtcountry.text Then
MsgBox "The Country can not be the same as the State.", vbCritical
txtID.Text = ""
End If
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.