Project 2013 gives features to highlight, filter and group tasks on certain conditions. These commands are available in View ribbon.
I have selected the criteria "Critical" in Highlight list, and Project highlights the critical tasks with yellow background color.
Now, I changed the duration of Build 2 to 4 days. This task doesn’t get highlighted though it is part of the critical path. Why?
After selecting the criteria, Project applies it only once in the current view. In other words, Project doesn’t refresh the view after every change.
You need to write a small script that will be apply the filter after every change, and this is quite simple.
2. In the editor, double click your current project on the left panel.
3. Now change the object and procedure to "Project" and "Change".
5. Within the sub-routine, include the below script. This code applies the Critical filter if the current view is "Gantt Chart"
If pj.CurrentView = "Gantt Chart" Then
FilterApply Name:="Critical", Highlight:=True
6. Close the editor.
Now, I changed the duration of Build 2 to 5 days and Project automatically highlights the critical tasks 🙂