VBA macro on Project Start

C

Cutter

Hello,
how can i run a macro on Project Start?
I added to code to the enterprise global, but how do i tell my clients to
execute this code on startup?
(i want to check the client version on startup).

Thank you very mutch!

Cutter
 
J

Jan De Messemaeker

Hi,

In VB Editor, Expand Project Global, below expand Microsoft Project Objects
Now double-Click This Project(Global.mpt)
In the header of the code window select (left) Project and (right) open -
this is the default
Now in Private Sub Project_Open put the call to your macro.
It will now fire each time a project is opened.

HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 
C

Cutter

Thank you! Works fine.

Jan De Messemaeker said:
Hi,

In VB Editor, Expand Project Global, below expand Microsoft Project Objects
Now double-Click This Project(Global.mpt)
In the header of the code window select (left) Project and (right) open -
this is the default
Now in Private Sub Project_Open put the call to your macro.
It will now fire each time a project is opened.

HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 

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