Only allow numbers in textboxes
No attachments for this post
Stops letters from being typed in a textbox
Original Author: Webmonster
This will stop letters being put in a textbox named text1
private sub text1_keypress(keyascii as integer)
select case keyascil
case is < 42
case 48 To 57
keyascil = 0
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.