Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Application.EnableEvents

Will the Application.EnableEvents method stop events from firing in any functions or subs call from
the procedure that sets that method, or do I need to include that in every function or sub that may
fire unwanted events?

Terry
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Application.EnableEvents

Terry,

EnableEvents is a global setting, so it needs to be set (and
reset) only in the first procedure.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Terry" wrote in message
news:mWibc.166008$po.974684@attbi_s52...
Will the Application.EnableEvents method stop events from

firing in any functions or subs call from
the procedure that sets that method, or do I need to include

that in every function or sub that may
fire unwanted events?

Terry



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Application.EnableEvents

Hi Terry
has to be set only at the beginning as this is a global setting. Don't
forget to turn them on at the end of your last macro

--
Regards
Frank Kabel
Frankfurt, Germany


Terry wrote:
Will the Application.EnableEvents method stop events from firing in
any functions or subs call from the procedure that sets that method,
or do I need to include that in every function or sub that may fire
unwanted events?

Terry


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
Application.EnableEvents DCPan Excel Worksheet Functions 3 October 18th 08 05:46 AM
application.EnableEvents nc Excel Discussion (Misc queries) 1 September 28th 05 04:00 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Stopping the use of enableevents Steven Revell[_3_] Excel Programming 3 November 21st 03 07:16 AM
EnableEvents and DisplayAlerts problems Derek Gadd Excel Programming 3 November 4th 03 01:35 PM


All times are GMT +1. The time now is 03:02 AM.

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

About Us

"It's about Microsoft Excel"