Private Sub cmdTrue_Click()
Call Switch(True)
End Sub
Private Sub cmdFalse_Click()
Call Switch(False)
End Sub
Private Sub Switch(bln As Boolean)
Dim iCounter As Integer
For iCounter = 1 To 10
Controls("CheckBox" & iCounter).Value = bln
Next iCounter
End Sub