Cancel an event

Y

Yoav

How can I cancel an event when certain conditions are not met?
E.g. canceling saving a project using Project_BeforeSave event
 
Y

Yoav

Rod,
See the following events I found in the VB editor, there isn't a Cancel
parameter. How can I access this parameter?
Private Sub Project_BeforePrint(ByVal pj As Project)
Private Sub Project_BeforeSave(ByVal pj As Project)
Private Sub Project_BeforeClose(ByVal pj As Project)
 

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