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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.