I am currently working on a project that has multiple Subs. To make life easier I created a Main procedure that 'Calls' the other Subs in order. I have a final Sub that sends me an email once the program is finished running since it can sometimes take a few hours to complete, which let's me get up from the computer.
My problem is that if there is an error, I don't know it until several hours later when the email never came. Is there a way to add a feature that will create a message box (I can modify it to an email) for when the Main program has stopped running due to an error?
Can this be done just with my Main Procedure and not with having to enter code into each of the other Sub Procedures?
Here's an example of my main procedure:
Bookmarks