I'm very very new to VBA and don't have a need to use it a lot, so when I do I generally find a code that is similar to what I am looking for and try to tweak it. I am adding code in to a Microsoft Project 2013 document to conditionally format the color of the Start Date column if it is less than 100% complete. So far, the below code works up until the lines I've highlighted in red. The code seems to work accurately except that when there is a "TBD" in the data field it is sometimes turned green and sometimes skipped. I would like to have TBD in grey or even have it skipped over and be in Auto color/black. Any help is appreciated!
Sub ColorFormatDateCurrent()
Dim t As Task
Dim i As Integer
i = 1
For Each t In ActiveProject.Tasks
SelectTaskField Row:=i, RowRelative:=False, Column:="Start"
Select Case t.PercentComplete
Case Is < 100
Select Case t.Start
Case Is < ActiveProject.CurrentDate
Font Color:=pjGreen
Case "TBD"
Font Color:=pjGrey
Case Else
Font Color:=pjBlack
End Select
End Select
i = i + 1
Next t
End Sub