Capturing PUBLISH event

  • Thread starter andrea molinari
  • Start date
A

andrea molinari

Hi,
I need to do some actions (controlling if personalized fields are
filled) before a project is published on project server, otherwise
publication should be refused. The action is so trivial, but it seems
to be impossible in project VBA. I checked similar postings, but no one
received any response. Does it mean that I am not able to intercept
something like "beforepublish" event? I can't believe it.....:)
Thanks
Andrea
 
R

Rod Gill

I don't think there is a before publish event, but there is a before save
event. You have to have the project saved before you can publish, so this
isn't a biggie.
 
A

AM

Rod said:
I don't think there is a before publish event, but there is a before save
event. You have to have the project saved before you can publish, so this
isn't a biggie.
Thanks for the reply....Previously I tried to capture the BeforeSave. I
put a msgbox in this event, try to publish my project, and the msgbox
didn't come out. Perhaps some error in publishing?
Andrea
 
R

Rod Gill

Hi,

If your project has already been saved, then Project won't resave it, it
will just publish straight away.
 

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