minendo
Elite Member
I need to set up a line of code that verifies the length of a string is 16 characters, but it will be in the form of an ElseIf statement. What I need to happen is if the string is not 16 characters, a message box needs to appear that says the string not the correct length. So how do I set up a not equal situation?
ElseIf Len(txtAccountNumber.txt) * 16
Then msgbox
What is the command for not equal to?
ElseIf Len(txtAccountNumber.txt) * 16
Then msgbox
What is the command for not equal to?