Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default code to stop all running macro's

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default code to stop all running macro's

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
code to stop all running macro's Gord Dibben Excel Programming 0 February 6th 09 09:22 PM
stop auto macros running when opening a file by code Graham Y Excel Programming 1 August 14th 07 05:25 PM
How to stop code re-running Jill1 Excel Programming 1 November 27th 06 09:39 AM
how to stop running vba code without loosing printed data on the sheet? MCM[_2_] Excel Programming 2 June 17th 06 10:06 AM
stop running code lou sanderson Excel Programming 0 November 29th 05 07:21 PM


All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"