Ask Your Question

How to exit from a macro [closed]

asked 2012-12-11 12:48:09 +0100

Gaffer gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-19 12:55:10.410243

1 Answer

Sort by » oldest newest most voted

answered 2012-12-11 13:18:25 +0100

JohnSUN gravatar image


edit flag offensive delete link more


Thankyou :-)

Gaffer gravatar imageGaffer ( 2012-12-11 14:48:11 +0100 )edit

Question Tools


Asked: 2012-12-11 12:48:09 +0100

Seen: 2,636 times

Last updated: Dec 11 '12