Strange Behavior

S

SpaceCamel

I am getting some strainge behavior. msp2003

-----------------------
Project Saved as "my Project.mpp"
I want to set the File Properties Title to be "my Project" to be shown on
reports.
Title defaults to "my Project.mpp", change to "my Project". Close. It
reverts back to "my Project.mpp". It apprears that you are not allowed to
title your project with the same name as the file name. Why?

-----
Sub ProjNametest()
ThisProject = ActiveProject.name
MsgBox ThisProject

MsgBox ActiveProject.name
End Sub

First Msgbox "Global.mpt"
Second Msgbox <projectfilename>
Why?

-----

ThisProject = ActiveProject.name
x = OrganizerMoveItem(pjModules, ThisProject, "Global.mpt", <modulename>

This bombs if the user has "Hide extentions for known file types" turned on.

------------------
 
R

Rod Gill

There is a file name and a project title. For headers and footers use the
project title. Set title using ActiveProject.ProjectSummaryTask.name= or
ActiveProject.BuiltinDocumentProperties("Title")=
 

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