I want to make a program that checks how much characters are in a text box. If there are less than 3 then it would give an error. Any ideas on how I can do that?
Printable View
I want to make a program that checks how much characters are in a text box. If there are less than 3 then it would give an error. Any ideas on how I can do that?
If Len(Text1.Text) < 3 Then: MsgBox ("error")
Try this...
Code:If Len(Text1.Text) < 3 Then
MsgBox "ERROR" 'Your error raise code goes here
End If
_bman_, I can't believe that this post has been sitting here for an hour and you beat me w/the answer by 2 minutes!
I appreciate it when people help me out since I've only done programming for so little.
I planned it that way :)