I am having problems with the code below. I have this set on the OnOpen event of the form. But it is not working.
I know it is probally something easy I am just not seeing it...
Private Sub Form_Open(Cancel As Integer)
If Payee = "HR Electric" And Date = "JAN" Or "FEB" Then
Feb1.BackColor = vbGreen
Else
Feb1.BackColor = vbWhite
End If
End Sub
I know it is probally something easy I am just not seeing it...
Private Sub Form_Open(Cancel As Integer)
If Payee = "HR Electric" And Date = "JAN" Or "FEB" Then
Feb1.BackColor = vbGreen
Else
Feb1.BackColor = vbWhite
End If
End Sub