Hi Everyone.
I am working on a checklist with a question, a option group response (Yes, No, NA) and a Remark field. The remark field is required if No or NA are chosen.
I have code that turns the Remark field red from yellow if No or NA are chosen. (This red field will prompt them to end a remark). What I can't figure out is how to turn it back to yellow once they have entered a remark. Hope that makes sense.
What I have:
Please help - and thank you! :banghead:
I am working on a checklist with a question, a option group response (Yes, No, NA) and a Remark field. The remark field is required if No or NA are chosen.
I have code that turns the Remark field red from yellow if No or NA are chosen. (This red field will prompt them to end a remark). What I can't figure out is how to turn it back to yellow once they have entered a remark. Hope that makes sense.
What I have:
Code:
Private Sub SQ1F_Click()
If SQ1F = 2 Or SQ1F = 3 Then
Me.SQ1R.BackColor = RGB(255, 0, 0)
Else
Me.SQ1R.BackColor = RGB(255, 255, 204)
End If
End Sub
Please help - and thank you! :banghead: