Using Project Events in Global.MPT with Project Server 2003

G

GMarquez

Hi folks!,

I am developing macros in the Project Server 2003's Global.MPT
(ProjectGlobal) Enterprise Template (opening the Global Enterprise Template
(GET) with Project Server's Administrator privileges, after changes, I save
the GET, and after doing it, I close MS Project application for testing my
code in a new Project or existing Project.

Every macros works OK, because I am calling it from tool bar's buttons, each
time that I create a new Enterprise Project, or I open a existing Enterprise
Project this appear without problems and works very well.

But, I have the following issue:

I have written code in the "Project Events" subroutines (like Project_Open,
BeforeClose,etc.), in the "ThisProject" module in Project Global (in
Global.MPT), and these doesn't are triggered when I open a new Project or
open an existing Project.

These only works when I write the code in "Project Events" of the particular
project saved in Project Server.

Could someone tell me what I doing bad?

p.s.
The server has a excellent health (configuration and operation).

Regards,
 
D

David

Rod,
After we added code in project_open of global.mpt file, user will get enable
macro message every time to launch project professional unless you set
security level to low. Is there a way to skip the enable macro message box
with higher level security in the project.
 
G

GMarquez

Try this in your Event:

MSProject.Application.AutomationSecurity = msoAutomationSecurityForceDisable
 

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