CustomFieldValueListGetItem method in Project 2007

P

Projector

Hi,
We have extensive use of Project custom fieds in our organization, so we've
developed a nice form (using VBA) to update the different custom fields.
This worked perferctlly well in 2003, but migrating it to 2007 seems to be
dificult.
for some reason, it won't get the values from custom fields.
have anyone tried that?

THANKS.
 
A

Amigos

To be more specific, this is the code i've tried:

Dim i As Integer
Dim pjf As MSProject.PjField
pjf = MSProject.FieldNameToFieldConstant("Health", pjTask)

'On Error GoTo eend

i = 1
While True
'formControlName.AddItem
MsgBox Application.CustomFieldValueListGetItem(pjf,
pjValueListValue, i)
i = i + 1
Wend
 
A

Amigos

Thanks Rod,
but i'm looking for the value list entries of my custom field ("Health" for
example).
 
M

Manimaran R

Did anybody have the solution for using CustomFieldValueListItem. I also tried to get the values of "Health" lookup table in my add-in project.
If anybody have the solution please help me to get work...

Thanks in advance
 

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