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.
How do you expect a userform to function 'without programming?' I am curious!only without programming
There is a | [red]Donate[/red] | link below.How do we contribute financially to this site
Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If Not (KeyAscii > 47 And KeyAscii < 59) Then
Beep
KeyAscii = 0
End If
End Sub
Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
TestChars KeyAscii
End Sub
...
Private Sub TextBox112_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
TestChars KeyAscii
End Sub
Function TestChars(KeyAscii)
If Not (KeyAscii > 47 And KeyAscii < 59) Then
Beep
KeyAscii = 0
End If
End Function
You might want to consider a context sensitive adding of textboxes, as needed.In reality only 10% of the boxes will be needed by each input so its not all bad.
Function TestChars(KeyAscii)
If Not (KeyAscii > 47 And KeyAscii < 59) Then
Beep
KeyAscii = 0
End If
End Function
That was the intention and matches the specs given by 2ks:Be aware that this will kill EVERY key except numbers
Is there an easy way to make the whole form numbers only