hi, I have the following code:
If Me.Urgency = 3 Then 'Red
Me.Urgency.ForeColor = RGB(255, 0, 0)
Me.Urgency.BackColor = RGB(255, 0, 0)
Else
If Me.Urgency = 2 Then 'Orange
Me.Urgency.BackColor = RGB(255, 102, 0)
Me.Urgency.ForeColor = RGB(255, 102, 0)
Else
If Me.Urgency = 1 Then 'Green
Me.Urgency.BackColor = RGB(0, 255, 0)
Me.Urgency.ForeColor = RGB(0, 255, 0)
Else
Me.Urgency.ForeColor = RGB(255, 255, 255)
End If
End If
End If
The ForeColor comand works fine, but it seems to be ignoring the BackColor part. Have i got something wrong somewhere?
Any help would be greatly appreciated.
Thank you!
If Me.Urgency = 3 Then 'Red
Me.Urgency.ForeColor = RGB(255, 0, 0)
Me.Urgency.BackColor = RGB(255, 0, 0)
Else
If Me.Urgency = 2 Then 'Orange
Me.Urgency.BackColor = RGB(255, 102, 0)
Me.Urgency.ForeColor = RGB(255, 102, 0)
Else
If Me.Urgency = 1 Then 'Green
Me.Urgency.BackColor = RGB(0, 255, 0)
Me.Urgency.ForeColor = RGB(0, 255, 0)
Else
Me.Urgency.ForeColor = RGB(255, 255, 255)
End If
End If
End If
The ForeColor comand works fine, but it seems to be ignoring the BackColor part. Have i got something wrong somewhere?
Any help would be greatly appreciated.
Thank you!