T
Tony Williams
I have a combo box which if the user selects a value I want the forecolor and
backcolor to change. I thought that something like this would do it:
Private Sub Hazards_AfterUpdate()
If IsNot Null([Hazards]) Then
Hazards.BackColor = vbRed
Hazards.ForeColor = vbWhite
End If
End Sub
However there is a problem with the Is Not Null statment as it obviously
isn't correct. Could someone help me with the correct code?
Thanks
Tony
backcolor to change. I thought that something like this would do it:
Private Sub Hazards_AfterUpdate()
If IsNot Null([Hazards]) Then
Hazards.BackColor = vbRed
Hazards.ForeColor = vbWhite
End If
End Sub
However there is a problem with the Is Not Null statment as it obviously
isn't correct. Could someone help me with the correct code?
Thanks
Tony