How to suppress an event?

  • Thread starter christophercbrewster via OfficeKB.com
  • Start date
C

christophercbrewster via OfficeKB.com

I use a save event to run a routine (A). But some other routines (B, C...)
include a save when it would be better if routine A didn't run. Is there any
way to do a save without generating the save event or is there some other way
to prevent routine A from running?

--
Christopher Brewster
Lockheed Martin, Eagan MN

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200902/1
 
P

Per Jessen

Hi

Turn off events:

Application.EnableEvents= False

Just remerber to turn it on again.

Hopes this helps
 
H

Holy

When you want to add event you used += operator.
You can remove event by using -= operator.
 

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

Top