Hello,
For some background; My macro creates a curb based on a userform, it then creates drawings based on template files, since the sizes of these curbs vary vastly the drawings need to be fixed manually, after touching up the drafts the macro would ideally continue it's process.
I need some help pausing the macro to allow the user to clean up the drawings and then allow the user to start the macro again by performing an action (ideally saving would be the most intuitive).
Any help would be appreciated.
Thanks.
The correct way would be to use events and sync your code. Events will not block the UI thread and you will be able to automatically decide when to continue. Check a second approach from this example: Wait for user selection in document using SOLIDWORKS API
Simpler way is creating Modeless User Form with a button ‘Continue’ so your user will press the button to continue.
Even simpler implementation is using ‘stop’ keyword, but VBA editor will pop up with break on code line and user will need to click F5 or ‘play’ button to continue execution.