Shalih
New Member
- Joined
- Mar 2, 2011
- Messages
- 16
Can any please let me know how to set an error level in excel macro. here is the scenario. I have an ecel that runs automatically from the scheduled task which runs a few macros. this excel sheet is initiated with in a batch script. If the macro returns an error or fails, i need to get an error level returned back to the script which can trigger a mail. Please help me in setting an error level inside the macro when the excel fails and let it return to the batch script.
Thanks!
Thanks!