Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub TextTrial_KeyPress(KeyAscii As Integer)
KeyAscii = AllowNumericOnly(KeyAscii)
End Sub
Public Function AllowNumericOnly(ByRef Pintascii As Integer)
If Pintascii = 8 Then GoTo SetKey 'this is the backspace
If (Chr(Pintascii) < "0" Or Chr(Pintascii) > "9") And Chr(Pintascii) <> "." Then
Pintascii = 0
End If
SetKey:
AllowNumericOnly = Pintascii
End Function