I have an Access form with a listbox that contains a column with DueDate. I want all of the rows that are past the Due Date to be highlighted in vbRed.
The code that I have tried is this:
If Me.cm_todo_lst. Column(3) < Date Then
Me.cm_todo_lst. ForeColor = vbRed
Else
Me.cm_todo_lst. ForeColor = vbBlack
End If
Thanks in advance.
The code that I have tried is this:
If Me.cm_todo_lst. Column(3) < Date Then
Me.cm_todo_lst. ForeColor = vbRed
Else
Me.cm_todo_lst. ForeColor = vbBlack
End If
Thanks in advance.
Comment