Finding value of an enterprise custom text field

S

Shane

I'm new to VBA programming in MS Project, but not so much to VBA programming.
How do I check to see the contents (value) of an Enterprise custom field
(i.e. EnterpriseText17) as I loop through all the activeproject tasks.

Thx,
Shane
 
R

Rod Gill

Something like:

Dim Tsk as Task
For Each Tsk in ActiveProject.Tasks
if not tsk is Nothing then
If Tsk.EnterpriseText17<>"" Then
msgbox "EnterpriseText17="& Tsk.EnterpriseText17
End if
end if
next tsk
 
Top