Ottsel
Board Regular
- Joined
- Jun 4, 2022
- Messages
- 174
- Office Version
- 365
- Platform
- Windows
I have a macro that is very time consuming, so I created a loading screen that calculates when it'll finish, so the user isn't just staring at a blank screen wondering when it'll be complete.
The issue I'm having is when I click the red X in the right hand corner to cancel the userform my macro continues to run in the background even though the userform or loading screen has been closed.
What can i add to the userform to call off or exit the sub? I'm trying to avoid making a "cancel" button.
The issue I'm having is when I click the red X in the right hand corner to cancel the userform my macro continues to run in the background even though the userform or loading screen has been closed.
What can i add to the userform to call off or exit the sub? I'm trying to avoid making a "cancel" button.