read/write custom enterprise field (in project level)

V

Vit

hi to everybody,

I'd like to read/write a custom enterprise field (in the project
level), to perform some VBA code...

how can I do that???

I have create a user form with 2 button... 1 should read the value,
and the other should write a value...

thanks to everybody...

Vit
 
J

Jack Dahlgren

the on click for the first button should be:

myVariable =
activeproject.projectsummarytask.getfield(fieldnametofieldconstant("thenameofyourcustomfield"))

the on_click event for the second button should be:

ActiveProject.ProjectSummaryTask.SetField(FieldNameToFieldConstant("thenameof yourcustomfield"), "thevalueyouwantittobe")

-Jack Dahlgren
 
V

Vit

the on click for the first button should be:

myVariable =
activeproject.projectsummarytask.getfield(fieldnametofieldconstant("thenameofyourcustomfield"))

the on_click event for the second button should be:

ActiveProject.ProjectSummaryTask.SetField(FieldNameToFieldConstant("thenameof yourcustomfield"), "thevalueyouwantittobe")

-Jack Dahlgren

thanks so much!!!! it works!!!!

cheers

vit
 

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