How to exit from a macro

I can use:

Exit Sub

To leave a subroutine early.

I can use:

Exit Function

To leave a function early.

But how can I simply stop running the macro altogether (regardless of how deeply nested I am…)

I expected it to be something like:

Exit Macro

but it isn’t :frowning:

1 Like

Just

Stop
2 Likes

Thankyou :slight_smile:

And just stop executing altogether if a fatal error has occurred.

End
1 Like