Good morning (in Malaysia),
I have a source code of setting the textbox for key in Numeric only. But my problem is why i can't backspace? Can anyone help me please, thanks.
I have a source code of setting the textbox for key in Numeric only. But my problem is why i can't backspace? Can anyone help me please, thanks.
Code:
Private Sub txtProDate_KeyPress(KeyAscii As Integer) If KeyAscii < Asc("0") Or KeyAscii > Asc("9") Then KeyAscii = 0 Beep ' Sound error signal. End If End
Comment