Where is the checkbox located at... on a UserForm or directly on the worksheet?I have a cell M24 that I would like to color yellow if a check box (chkFivePoints) is true. How can I do this? Thanks....
Private Sub chkFivePoints_Click()
'Modified 7/23/2018 12:21:48 PM EDT
If chkFivePoints.Value = True Then
Range("M24").Interior.Color = vbYellow
Else
Range("M24").Interior.Color = xlNone
End If
End Sub
Rick, The Checkbox was an active X.... I just placed it next to a merged cell. Thanks!
Private Sub chkFivePoints_Click()
Range("M24").Interior.ColorIndex = -6 * chkFivePoints.Value
End Sub
That worked great thank you....
Rick, The Checkbox was an active X.... I just placed it next to a merged cell. Thanks!