I have a method-A() that is called from multiple methods,

On a condition in method-A, i have to terminate the macro.

i saw one option as Exit sub but this will just exit the current sub ie:method-A() and the remaining program continues.

how to handle this.

Sub mainMethod()
    method-A()
end Sub

Sub method-A()
    if (true) Then
         'Terminate the macro. that is exit method-A() and also mainMethod()
end Sub
Edit
Report