Hi Everyone,
I'm trying to make a macro where if I check/uncheck a check box a group of checkboxes also be checked/unchecked.
I have 10 check boxes that are labeled chkBoxQ_1_L_1 all the way to Q_1_L_10
The way I'm thinking to write the code is like this:
Private Sub chkBoxQ_1_L_1_Click()
If chkBoxQ_1_L_1.Value = True Then
'here would be a loop that cycles through chkboxQ_1_L_2 to chkboxQ_1_L_10 and checks them
Else
'here would be a loop that cycles through chkboxQ_1_L_2 to chkboxQ_1_L_10 and unchecks them
End if
End Sub
Any ideas how to write the loop? help is appreciated thanks
Bookmarks