Set Project Outline Codes

W

Wesley

How do I set the Project Outline Codes?

I have tried the following:
a) ActiveProject.ProjectSummaryTask.OutlineCode1 = "Template"
b) ActiveProject.ProjectSummaryTask.SetField pjTaskOutlineCode1, "Template"

Using both these methods I get the error:
"There is no code mask defined for Outline Code1"

Thanks.
Wesley
 
W

Wesley

Figured out my problem just after I posted this.

Just changed it to the following:

ActiveProject.ProjectSummaryTask.SetField
pjTaskEnterpriseProjectOutlineCode1, "Template"

I had the wrong field :(

Thanks anyway
 
Top