J
Jean-Paul De Winter
Hi,
I created a form with a listbox with following choises:
"Very Bad","Bad","Good","Very Good"
When a user chooses "Very Bad" or "Bad" I would like to get these words in
Red
"Very Good" should be green
I wrote, as a test following code:
Private Sub Keuzelijst56_LostFocus()
If Me.Keuzelijst56.Value = "Bad" Then
Me.Keuzelijst56.ForeColor = 255
End If
End Sub
This doesn't seem to work...
What schould I write instead?
Thanks
JP
I created a form with a listbox with following choises:
"Very Bad","Bad","Good","Very Good"
When a user chooses "Very Bad" or "Bad" I would like to get these words in
Red
"Very Good" should be green
I wrote, as a test following code:
Private Sub Keuzelijst56_LostFocus()
If Me.Keuzelijst56.Value = "Bad" Then
Me.Keuzelijst56.ForeColor = 255
End If
End Sub
This doesn't seem to work...
What schould I write instead?
Thanks
JP