.SelectAll()
e.KeyChar = Char.ToUpper(e.KeyChar)
If Not IsNumeric(e.KeyChar) And Not e.KeyChar = vbBack And Not e.KeyChar = "." And Not e.KeyChar = "-" Then
e.KeyChar = Nothing
End If
e.KeyChar = Char.ToUpper(e.KeyChar)
If Not IsNumeric(e.KeyChar) And Not e.KeyChar = vbBack And Not e.KeyChar = "." And Not e.KeyChar = "-" Then
e.KeyChar = Nothing
End If
Last edited by Aueeins on 2011-12-05, 4:48 pm; edited 1 time in total