View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default Code to stop a Macro

That was pretty much the best answer Lars-Åke could give you given you
posted nothing useful for him to look at. If you have a question as to how
code should work, post the code you are using (working or not) so we can see
what it is you are attempting to do and how the changes you requested might
be made to fit into it; otherwise we have no idea what you currently doing
or trying to do.

--
Rick (MVP - Excel)


"Nikki" wrote in message
...
but what if I want it to resume after exiting?

"Lars-Åke Aspelin" wrote:

On Fri, 2 Jan 2009 09:40:01 -0800, Nikki
wrote:

Can anyone please tell me what code would work to stop a Macro when
updating
multiple sheets? I have about 12 sheets and only need 8 updated every
month;
the other 4 are only required to be updated every 3 months.

Thanks


Try this:

Exit Sub

Hope this helps / Lars-Åke