Disabling Events in MS-Project

B

bstobart

How do I disable application events in MS-Project? In MS-Excel, I'd simply
use:

Application.EnableEvents = False

....but there doesn't seem to be an equivalent in MS-Project.
 
R

Rod Gill

There isn't a way I'm afraid. However, you can declare a Global variable:

Dim NoEvents as Boolean

And set to True. At the beginning of every event you write use:

If not NoEvents Then
....
Event code

End If

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 

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