I'm a calling a sub in a module from an on click event in my form. In the sub I doing some validationns. If it's not a valid entry, I dispaly a msgbox then exit the sub, but the program still goes through the rest of the code in my on click event. is there a way to stop this? If the entry is not valid I want to stop the event and then place the cursor in the textbox that needs to be adjusted.
