Method SetField in VBA

U

Uriy

Write me please procedure with use SetField for resources. In VBA not
example. Help me, please!!!!
 
J

John

Uriy said:
Write me please procedure with use SetField for resources. In VBA not
example. Help me, please!!!!

Uriy,
The following will set the Text1 field of resource 1 to "Hi Uriy":

Sub Uriy()
activeproject.Resources(1).SetField FieldID:=pjResourceText1, _
Value:="Hi Uriy"
End Sub

John
Project MVP
 
U

Uriy

Thanks!!!!


John said:
Uriy,
The following will set the Text1 field of resource 1 to "Hi Uriy":

Sub Uriy()
activeproject.Resources(1).SetField FieldID:=pjResourceText1, _
Value:="Hi Uriy"
End Sub

John
Project MVP
 

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