For
Each
Status
In
Range(Cells(4, 11), Cells(LastEntry, 11))
If
Not
IsError(Status.Value)
Then
Select
Case
Status.Value
Case
Is
=
"Future"
Status.Interior.ColorIndex = 39
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 39
Case
Is
=
"Ongoing"
Status.Interior.ColorIndex = 43
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 43
Case
Is
=
"Due"
Status.Interior.ColorIndex = 44
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 44
Case
Is
=
"Overdue"
Status.Interior.ColorIndex = 3
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 3
Case
Is
=
"Today"
Status.Interior.ColorIndex = 45
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 45
Case
Is
=
"Closed"
Status.Interior.ColorIndex = 33
Cells(LoopCounterStatus, 14).Interior.ColorIndex = 33
End
Select
LoopCounterStatus = LoopCounterStatus + 1
End
If
Next