Float said:
John,
Thanks for your reply. I seem to be having trouble with my formula. What I
would like to have happen is the Gantt bar go to red when the current date is
past the finish date. I tried substituting "Date" and "CurrentDate" in where
you had someone else put in "Deadline". I substituted "Start" and the bars
went red so I think it is in my formula. Would also like the bar to turn
yellow when the current date is within 2 weeks of the finish date. Thanks
for your insight and time.
Float
Float,
OK, you force my hand. Try the following:
1. Customize the Flag1 field with the formula
IIf([Finish]<=[Current Date]+14,Yes,No)
2. Customize the Flag2 field with the formula
IIf([Finish]<[Current Date],Yes,No)
3. Add a new bar style with a yellow color and "show for...",
Normal,Flag1
4. Add another new bar style with a red color and "show for...",
Normal,Flag2
Since bar styles at the bottom of the bar styles list take precedence
over bar styles at the top of the list, if there is a conflict, make
sure the new bar in item 3 above is after the default blue bar and that
the new bar in item 4 above is after the new bar in item 3.
Note: a yellow bar isn't very visible. I suggest you add a shape to the
start and end of the bar, or use a different more visible color.
Hope this helps.
John
Project MVP