How to stop execution from a deeply nested subroutine? RRS feed

  • Question

  • My code detects a problem in a  subroutine called by another routine called by another routine and I want to stop all execution not just the subroutine.

    How do I do that?

    I also need a similar solution but in the case of a class method having an error that's not caught by VBA--an error I generate based on say user input values not being right.

    Monday, October 29, 2012 7:22 PM