Good morning,
This is what I am trying to do but it is not working.
**If Required Date is less than todays date then flash.
I have not used VBA but a few times so I am having trouble figuring out what I am doing wrong.
The background is not flashing.
Below is my code:
Can anyone tell me what I am doing wrong?
Thanks
Clay
This is what I am trying to do but it is not working.
**If Required Date is less than todays date then flash.
I have not used VBA but a few times so I am having trouble figuring out what I am doing wrong.
The background is not flashing.
Below is my code:
Code:
Private Sub Form_Timer()
If [RequiredDate] < Date Then
If [RequiredDate].ForeColor = vbRed Then
[RequiredDate].ForeColor = vbBlack
Else
[RequiredDate].ForeColor = vbRed
End If
End If
End Sub
Can anyone tell me what I am doing wrong?
Thanks
Clay