Numerical input into text box (1 line of code)
With this 1 line of code you can strip non-numerical input into text boxes.
Rate Numerical input into text box (1 line of code)
(7(7 Vote))
Private Sub Text1_KeyPress(KeyAscii As Integer)
' Force numbers only in a text box
If IsNumeric(Chr(KeyAscii)) <> True Then KeyAscii = 0
End Sub
Numerical input into text box (1 line of code) Comments
No comments yet — be the first to post one!
Post a Comment