you could have simply used this:
Code:Private Sub Command1_Click() 'E05-09812A 'WS0/3456SA If UCase$(Text1.Text) Like "[A-Z]##-#####[A-Z]" _ Or UCase$(Text1.Text) Like "[A-Z][A-Z]#/####[A-Z][A-Z]" Then MsgBox "okay" End If End Sub
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |