I have a Userform with some textboxes. In one of the textboxes, only values 0 to 9 can be entered. Nothing else.
If the user makes an error here, then I can trap this error when he presses the "OK" button.
However, I want to trap it as soon as he leaves the textbox.
So he needs to receive an error message, and his wrong input must be undone.
Can anyone help ?
If the user makes an error here, then I can trap this error when he presses the "OK" button.
However, I want to trap it as soon as he leaves the textbox.
So he needs to receive an error message, and his wrong input must be undone.
Can anyone help ?