Hi people. I am have trouble with something that should be simple and straight-forward. When a Workbook is open, I want to make sure the Value of some of my Checkboxes are False. I am trying to use this approach:
With Sheet1.
For i = 1 to 30
.CheckBox(i).Value = False
Next i
End With
It comes up with a Compile error: Method or Data Member not found.
How can I do this without listing all 30 CheckBox statements separately? DO I need to loop through the spreadsheet controls?
Thanks, DAVE
With Sheet1.
For i = 1 to 30
.CheckBox(i).Value = False
Next i
End With
It comes up with a Compile error: Method or Data Member not found.
How can I do this without listing all 30 CheckBox statements separately? DO I need to loop through the spreadsheet controls?
Thanks, DAVE