I have three subs that runs one after another, the subs are called DataTrimming, Pivot and Email.
Sub AllTogether()
DataTrimming
Pivot
Email
End Sub
I put an error handler inside Sub DataTrimming, so when there is an error, there will be an error message and exit the sub.
When I run sub AllTogether, it shows the error message when there is an error from Sub DataTrimming and it continues to run sub Pivot and sub Email.
Is there a way to exit sub AllTogether and not run the rest of the subs when an error occurs in sub DataTrimming?