Enterprise Custom Field in VBA Project 2007

P

Patrizio

How can I get/set Enterprise Custom Field using VBA in Project Professional
2007 ??
Looking at "Object Model Changes Since Microsoft Office 2003" in Project
Help I see that all methods related to Enterprise Custom Fields are "HIDDEN".
I created Enterprise Custom Fields in PWA 2007.
Now I need to read/write values to these fields using VBA code in
Professional...
how can I do??
 
P

Patrizio

I found the solution and I post it (if someone need...)
GET
ActiveProject.ProjectSummaryTask.GetField(GlobalOutlineCodes("FIELD_NAME").FieldID)
SET:
ActiveProject.ProjectSummaryTask.SetField FieldID :=
GlobalOutlineCodes("FIELD_NAME").FieldID, Value:= "FIELD_VALUE"
 

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