I have a combo box in a form and want the background color to change if the name is female. Below is my code but nothing changes.
I'm new at this and this is basic but I'm good at figuring things out if I'm put in the right direction, Please help.
I'm new at this and this is basic but I'm good at figuring things out if I'm put in the right direction, Please help.
Code:
Private Sub Combo5_Change() If [bowlers]![m/f] = "female" Then [Combo5].BackColor = "65535" Else [Combo5].BackColor = "16777215" End If End Sub
Comment