In the menu Format / Text Style, set a specific color for Marked Tasks
Then in the VBA Editor, paste the following macro:
Sub TacheRetard()
Dim oTache As Object
For Each oTache In ActiveProject.Tasks
If oTache.Status = 2 Then 'Retard
oTache.Marked = True
Else
oTache.Marked = False
End If
Next
End Sub
Similarly, is there a way to set the font color based on a custom field
value; e.g Custom field has "Expense" or "Capital". Expense tasks = blue,
Capital tasks = Green?
Not through formulas I'm afraid.
You can build a custoom filter and use "highlight filterd tasks" together
ith a coloring of the highlighted tasks, or you cna go through a VBA
procedure.
HTH
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.