I was trying to filter every input from the user so that he could only enter numbers by using this code:
Private Sub Text1_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) <> True Then KeyAscii = 0 End Sub
This code blocks any existing character input from the keyboard and accept numbers 0-9
the problem is the backspace thing is also block and i do not know any other syntax..
please help me