Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Project Custom Template 1

Status
Not open for further replies.

gwoman

Programmer
Nov 16, 2004
199
US
My knowledge of MS Project is minimal ... with that ... I have been asked to create a custom template that would be a user choice in the "On Open" event of the application. I think I can figure out the ...giving the user a choice to use the custom template or just a new project on the "On Open" part ... but I am at a loss on the custom template part ... and how and where to create and/or store ...etc.
Anyway suggestions or advise would be GREATLY appreciated!
I am using MS Project 2003 ... thanks so much!

gwoman
 
I'm not sure why you would want to write VBA code for the FileOpen event.


Create the template.

File | Save As...

In the Save dialog, change the file type to "Template *.mpt" and this will automatically change the folder to the default template folder. If necessary, navigate to the folder where you want to save your templates (could be on the LAN; could be on your own machine).

On your own machine, it will be something like:

c:\Program Files\Microsoft Office\Templates\nnnn where "nnnn" is the language code (on my machine that's 1033).

Save the file.

When you start a new project, File | New... and navigate to the folder containing your new template.
 
Is it not wise to put code in the on open event?
What they asked me to do is this ... when the user clicks to start MS Project ... they want to either have a pop up option or add an option to the menu that gives the user a choice to either use a blank project or the custom template project(the one I am going to create) ... would you suggest a different route?

Thanks for the other info on creating a template ... =)
gwoman
 
The functionality is already there.

There is a task pane (which floats but which most people leave docked on the left side of the window). It contains an option to start with a blank project or to start with a template.

If you have set Tools | Options | General-tab "Show startup Task Pane" to 'active' (with a checkmark) then you will see the task pane when you start Project.

If you close the pane and then, in the same session, click on "File | New.." you will automatically re-display the Task Pane.

You started by asking "Is it not wise to put code in an Open event?" Well, it's not unwise <grin>. There are occasions when you will want/need to put code there, but -- from your description -- this does not appear to be one of them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top