Hello,
I have created a text box which will only allow numeric characters to be entered including decimals, but crashes when you start the number with "." instead of "0." So I need a KeyPress event which will convert the two. I've started with this but can't get it to work properly:
If Left(txtMobileVATPer.Text, 1) = "." Then
txtMobileVATPer = "0."
End If
Does anybody have any other suggestions.
Thank You.
Wilky.
I have created a text box which will only allow numeric characters to be entered including decimals, but crashes when you start the number with "." instead of "0." So I need a KeyPress event which will convert the two. I've started with this but can't get it to work properly:
If Left(txtMobileVATPer.Text, 1) = "." Then
txtMobileVATPer = "0."
End If
Does anybody have any other suggestions.
Thank You.
Wilky.