Enterprise Project Outline Codes

P

Pat

I am using an EP Outline Code to define a characteristic of a project
(e.g. type of project). I want to check the value of the field in a
VBA macro, but when I run the macro the field is null. I know the
field has a value because I can see it in Project Information. We are
using the following code:
If activeproject.projectsummarytask.enterpriseoutlinecode25 = "blah
blah"

I am sure we are doing something obviously wrong. Any help would be
appreciated.
 
S

StuWolf

Hi Pat

I have managed to test the project outline codes in VBA before. I did it
something like this ...

x = p.ProjectSummaryTask.GetField(pjTaskEnterpriseProjectOutlineCode25)
(where 'p' is the active project)

Hope this helps

Stuart.
 
Top