In a userForm, I have a textbox that I'm trying to perform data validation on. If invalid data is entered, the focus needs to remain on the textbox.
An if..then statement in the afterUpdate event traps the invalid data but the textbox.setFocus method does not keep the focus on the textbox.
Any help would be appreciated.
Thanks.
An if..then statement in the afterUpdate event traps the invalid data but the textbox.setFocus method does not keep the focus on the textbox.
Any help would be appreciated.
Thanks.