Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 :-(