I am currently making a MS Project 2016 Add-In and I need to color specific task ( row of the task ), when a condition is true. I am using c# .NET4
I made a method:
public void colorYellow(MSProject.Task task){
Globals.ThisAddIn.Application.SelectRow(task.ID);
Globals.ThisAddIn.Application.ActiveCell.CellColor = PjColor.pjYellow;
}
I am getting exception: Unexpected method error.
Is there a way how to color whole task row somehow? Thanks for your answer!