Help with "Like" operator

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, all
How can i validate input in the textbox:
Valid input range should be from 05 - 99 by using "Like"
Dim bCh as Boolen
Dim sStr as String = "04" (invalid input)

bCh = sStr Like "[0-9][0-9]"

Please, help
 
Back
Top