A
Arjan
Hello,
I'm trying to get some conditional format on multiple conditions. this is
the reason i do not use the standard conditional format option. the code
below is what i wrote but it doesn't work, but i don't get any errors either.
******************************************************
Private Sub Form_Load()
If CheckBox.Approved = "no" And TextBox.DueDate < Date And
TextBox.SubmitDate1 = Null Then
TextBox.DueDate.BackColor = "#ff0000"
Else: TextBox.DueDate.BackColor = "#0000ff"
End If
End Sub
******************************************
what Am i doing wrong?
Thanks for helping!
Arjan
I'm trying to get some conditional format on multiple conditions. this is
the reason i do not use the standard conditional format option. the code
below is what i wrote but it doesn't work, but i don't get any errors either.
******************************************************
Private Sub Form_Load()
If CheckBox.Approved = "no" And TextBox.DueDate < Date And
TextBox.SubmitDate1 = Null Then
TextBox.DueDate.BackColor = "#ff0000"
Else: TextBox.DueDate.BackColor = "#0000ff"
End If
End Sub
******************************************
what Am i doing wrong?
Thanks for helping!
Arjan