Change color on specific Gantt Tasks without ID?? 
Author Message
 Change color on specific Gantt Tasks without ID??

Hi,

Using the
"GanttBarFormat(TaskID, GanttStyle, StartShape, StartType, StartColor,
MiddleShape, MiddlePattern, MiddleColor, EndShape, EndType, EndColor,
LeftText, RightText, TopText, BottomText, InsideText, Reset, ProjectName)"
function, I can change the colour of a task if I specify it's ID. How can I
change a specific task depending on its task 'name'?

thanks
hip



Sat, 08 May 2004 07:03:17 GMT  
 Change color on specific Gantt Tasks without ID??
Hallo Hippy,

By first setting
ThisID=activeproject.tasks("whateverthenameof thetaskis").ID
and use that in the ganttbarformat
HTH
Jan


Quote:
> Hi,

> Using the
> "GanttBarFormat(TaskID, GanttStyle, StartShape, StartType, StartColor,
> MiddleShape, MiddlePattern, MiddleColor, EndShape, EndType, EndColor,
> LeftText, RightText, TopText, BottomText, InsideText, Reset, ProjectName)"
> function, I can change the colour of a task if I specify it's ID. How can
I
> change a specific task depending on its task 'name'?

> thanks
> hip



Sat, 08 May 2004 15:45:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Get color of Gantt Task from MSP

2. Change font colour of field for specific task

3. How do you determine if a task ID has changed

4. Find multiple instances of a specific word and change the color

5. Change specific row colors in a bound datagrid

6. Changing the color of specific words in a rtb

7. Change typelib id without compile?

8. how to change the font color of a specific text in RichEdit control

9. Changing a specific form's title bar color

10. Program ID vs. Task ID

11. Vertical Line on Gantt Chart at specific dates

12. Hiding Task ID in Task List

 

 
Powered by phpBB® Forum Software