LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default code to stop all running macro's

Sounds like you have set up a macro that uses the OnTime method.

See Chip Pearson's site for starting and stopping a macro.

http://www.cpearson.com/excel/OnTime.aspx


Gord Dibben MS Excel MVP

On Fri, 06 Feb 2009 20:00:08 +0100, Imda14u wrote:

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


 
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
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
How can I control the macro's running time? Ming[_2_] Excel Programming 5 December 22nd 05 08:25 PM
stop running code lou sanderson Excel Programming 0 November 29th 05 07:21 PM


All times are GMT +1. The time now is 03:40 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"