B
BradWong
Good morning,
I use Microsoft Project 2003 SP3, and I would like help about how with a vba
macro changed the color of my bar according to the value of my field.
I have three fields, one for the name, and the two others are for the date
of start and end of my action.
And so, I would like to change the color of my bar in green if there are
"electrical" in the field where are my action.
And if it is an other name I would like to have an other color, etc...
I try with that but it doesn't work
If ActiveProject.Tasks.Item.Text7.value = "electrical" Then
GanttBarStyleEdit startcolor:=pjGreen
End If
Thank you
I use Microsoft Project 2003 SP3, and I would like help about how with a vba
macro changed the color of my bar according to the value of my field.
I have three fields, one for the name, and the two others are for the date
of start and end of my action.
And so, I would like to change the color of my bar in green if there are
"electrical" in the field where are my action.
And if it is an other name I would like to have an other color, etc...
I try with that but it doesn't work
If ActiveProject.Tasks.Item.Text7.value = "electrical" Then
GanttBarStyleEdit startcolor:=pjGreen
End If
Thank you