Hello,
does somebody know to limit in a TextBox possible digits
e.g.
Form1 - TextBox1
Sub TextBox1_KeyPress (key)
If StrLength(textbox1.Text)>3 Then
key=""
End If
End Sub
I want to limit the Textbox to max. 3 digits, is this possible.
Best Regards
Michael
does somebody know to limit in a TextBox possible digits
e.g.
Form1 - TextBox1
Sub TextBox1_KeyPress (key)
If StrLength(textbox1.Text)>3 Then
key=""
End If
End Sub
I want to limit the Textbox to max. 3 digits, is this possible.
Best Regards
Michael