ok this should be pretty easy but getting an error that i cant seem to understand.. i have a label where if i click on it, it should check off 2 boxes and if i click on it again it should clear both. here is what i am coding too but its giving me a type mismatch error, what am i doing wrong here?
also is there a way to underline the label when the mouse is over it so the user knows to click it?
Private Sub selectclrall7_Click()
If selectclrall7.OnClick = True Then 'this is where it highlights the code
checkbox1.Value = True
checkbox2.Value = True
End If
If selectclrall7.OnClick = False Then
checkbox1.Value = Flase
checkbox2.Value = False
End If
End Sub
also is there a way to underline the label when the mouse is over it so the user knows to click it?
Private Sub selectclrall7_Click()
If selectclrall7.OnClick = True Then 'this is where it highlights the code
checkbox1.Value = True
checkbox2.Value = True
End If
If selectclrall7.OnClick = False Then
checkbox1.Value = Flase
checkbox2.Value = False
End If
End Sub