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
 
Top