Shovell242
Registered User.
- Local time
- Today, 12:35
- Joined
- Jul 30, 2013
- Messages
- 14
Hey guys,
I'm running into issues with trying to change the backcolor of a box within a form using VBA from check boxes.
Basically if a checkbox, or multiple check boxes are clicked I want the named box to turned gray.
I've been trying this method.
However its not working. And i'm not quite sure to put the code in the form detail or the form itself.
I'm running into issues with trying to change the backcolor of a box within a form using VBA from check boxes.
Basically if a checkbox, or multiple check boxes are clicked I want the named box to turned gray.
I've been trying this method.
Code:
If checkbox1 = True Then
box1.BackColor = vbRed
Else
box1.BackColor = vbRed
End If
End Sub
However its not working. And i'm not quite sure to put the code in the form detail or the form itself.