Hi, I'm a novice with VBA. This seems to be simple, but I cannot find an answer. I have a subform with a button that runs code after the "on click" event. While the code is running, a pop up form is triggered that pauses the code until the user makes a selection on the pop up form. Once the selection is made, the code than continues to run to its end. What I need is a "close" or "cancel" button on the pop up form that when selected completely exits the opertion without continuing to run the remaining part of the code. I tried:
- The "X" button at the top of the pop up form
- DoCmd.Close
- DoCmd.Close acForm, "FormName", acSaveNo
- DoCmd.Quit