Application.EnableEvents

  • Thread starter Thread starter Terry
  • Start date Start date
T

Terry

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
 
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 said:
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
 
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
 

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

Back
Top