So my workbook has a lot of script in it and I use "Bundles" of script to perform big functions, one such function that resides in a bundle of scripts reaches to SAP through GUI Scripting and pulls data. It is set to use an active window not with hard coded user and password info so if the user does not have an active window open in SAP it will error.
What I would like is when my error handler message opens instead of just using an End to kill the script id like the option for the user to rerun the current script in the bundle.
I am assuming it would simply be part of the script error handler so when it errors if it retry's the script then it doesn't kill the rest of the bundles script that would come after this script ends.
Any Idea on a command to simply restart this script if the user has now opened a window to resolve the issue and not kill anything else allowing it to just continue on as normal if it no longer errors?
What I would like is when my error handler message opens instead of just using an End to kill the script id like the option for the user to rerun the current script in the bundle.
I am assuming it would simply be part of the script error handler so when it errors if it retry's the script then it doesn't kill the rest of the bundles script that would come after this script ends.
Any Idea on a command to simply restart this script if the user has now opened a window to resolve the issue and not kill anything else allowing it to just continue on as normal if it no longer errors?