UserForm Close Event
问题 I have a UserForm which is opened and closed in a loop while a condition exists. The users can click several buttons which performs an action. The problem is the unpredictability of users. One of those problems is, users, instead of clicking one of the buttons, clicking the close window button on top of the UserForm which progresses the loop without performing an action. --- edit--- Is there an event with that button with which I can execute code so that I can let it perform the same action