Home > How-To Library > Controls

How to Validate a text box using Like operator

**************************************************************** * © 2007 CodeItBetter http://www.codeitbetter.com * * This notice MUST stay intact for legal use * ****************************************************************
If Text1 Like "[A-Z][A-Z]-###" Then Print "OK"

If you would like to submit your code here please us. Do not forget to mention your name. We are always thankful to each and everyone of you who submitted their code here.