I've applied the following code to the forms timer event:
Code: Select all
Private Sub Form_Timer()
With ECD
If InStr(.Value, "***TBA***") Then
.ForeColor = (IIf(.ForeColor = -2147483640, -2147483633, -2147483640))
.BackColor = (IIf(.BackColor = -2147483633, -2147483640, -2147483633))
End If
End With
End Sub
I've tried a couple of code snippets but the result is always the same?
Can you guys suggest a resolution?