Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Halt all code while macro runs

Is there a way to halt all other code or vba from running while a certain
macro runs?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Halt all code while macro runs

What exactly do you mean, Excel will only execute one thread at a time so it
does.

If you mean you want to stop Excel's events firing, worksheet events, set

Application.EnableEvents = false

and reset at the end.

--
HTH

Bob Phillips

"TimT" wrote in message
...
Is there a way to halt all other code or vba from running while a certain
macro runs?



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
Can you code a macro so it runs multiple times in the same workboo dpmac Excel Discussion (Misc queries) 2 April 18th 06 07:40 PM
Code Halt - prevents reset of the AutomationSecurity level Walt[_3_] Excel Programming 8 March 24th 05 06:55 PM
Code to halt a macro floss Excel Programming 1 April 26th 04 08:22 PM
Code runs different in a commandbutton than a macro why? Neal Miller Excel Programming 7 December 7th 03 02:41 AM


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