Open MS Project Summary Information

P

pkpublic

Hi,

Hoping someone on here can help.


I am creating a MS Project template that other members of my team
will
use.


I would like the ProjectSummaryInfo dialog box to appear
automatically
when the user opens the template.


I only need the dialog box to appear if the user has opened the
template file. If they subesequently save the file under different
filename then I don't want the dialog box to appear.


I have to advise that I have no knowledge of visual basic, so I would
be very grateful for a step-by-step explanation if possible.


Many Thanks


Paul
 
J

Jim Aksel

Perhaps you could have someone program this for you. Here is the basic
concept -

You can write code to intercept the startup process and run a Macro during
the file open sequence. Essentially, the file opens and then runs a macro.

The macro would have to do the following. If the name of the file equals
the name of your template file (hard coded into the macro) then display a
form with the project summary information. If the files names do not match,
do nothing and let the file open normally.

Here is a link to information on creating a Macro to autorun on opening the
Project file:
http://masamiki.com/project/project_open.htm There is a lot of good
information there.

So here is the guts of it:

Private Sub Project_Open(ByVal pj As Project)
If pj.Name = "MyTemplate.mpp" Then
ProjectSummaryInfo
End If
End Sub


Directions on where to place this code are contained in the link above.

--
If this post was helpful, please consider rating it.

Jim
It''s software; it''s not allowed to win.

Visit http://project.mvps.org/ for FAQs and more information
about Microsoft Project
 
P

pkpublic

Hi Jim,

Thanks very much for your assistance.

Using your response and the notes on the link, I've managed to get
this working myself, and it works just fine!

Thanks again.

Paul
 

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