Hi all,
Thanks for reading.
I have what I think is a very easy issue (annoyingly I cannot seem to solve it
). I have some code that works and resets all my checkboxes in my worksheet, and now I've got another worksheet that I would like to split out resetting different columns. This way I can reset Tuesday's checkboxes, without impacting Monday's for example (it's a kind of to-do list).
So I'll post the code that works for the whole sheet below, but if I wanted that code to reset the range of D3:D13 for example, how do I add that in?
I've tried for example: For Each Cbox In Worksheets("ToDo").Range("D3:D13").CheckBoxes
But it won't work
Thanks so much in advance.
(it's Form control rather than ActiveX if that helps)
My code:
Thanks for reading.
I have what I think is a very easy issue (annoyingly I cannot seem to solve it

So I'll post the code that works for the whole sheet below, but if I wanted that code to reset the range of D3:D13 for example, how do I add that in?
I've tried for example: For Each Cbox In Worksheets("ToDo").Range("D3:D13").CheckBoxes
But it won't work

Thanks so much in advance.
(it's Form control rather than ActiveX if that helps)
My code:
Rich (BB code):
Sub Clear_Checks()
Dim Cbox As Excel.CheckBox
Sheets("ToDo").Select
For Each Cbox In ActiveSheet.CheckBoxes
Cbox.Value = xlOff
Next Cbox
End Sub