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
 

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