Pookiemeister
Well-known Member
- Joined
- Jan 6, 2012
- Messages
- 626
- Office Version
- 365
- 2010
- Platform
- Windows
Is there a way to write code to the X on a userform located in the upper right hand corner of the form. I have a few textboxes on my form that alerts the user with a message box if they did not enter a value in the textbox on exit. The problem that I am having is if the user opens the form by accident and they want to close out of it by clicking the X, without entering any values in the text boxes, the message box still displays. So what I need is the form to close without displaying any message boxes. Thank you.