code to stop all running macro's

  • Thread starter Thread starter Imda14u
  • Start date Start date
I

Imda14u

Hi all,

in my workbook i have created links to realtime stockquotes.
i created a macro that does a fullcalculation every minute until 1700 hrs.

Now, what i need is code to stop all running macro's. i tried the quit
method, but id don't want excel to quit. i just want to stop all macro's
when i click a button (no Ctrl+break)

Any help is greatly appreciated.

TIA

Sybolt
 
Thanks Gord,

As amatter of fact I haven't used the onTime method.
The code loops each minut until a specified time is reached.

It stops automatically, but i clock a button to get it start running.

I also want a button to interrupt the loop.

I'm gonna have a look at Chip's ideas.

greets

Sybolt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Stop Command Question 4
Run Macro on All Sheets Q 8
Macro Stops without reason 6
Stop all macros in worksheet when left 9
Stop macro 1
Stopping a macro 13
Run code from another workbook 7
Do not Run Macro 5

Back
Top