I'm using this macro to change all checkboxes in a sheet
Dim chbox As CheckBox
For Each optBut In ActiveSheet.OptionButtons
optBut.Enabled = False
Next optBut
I would like todo the same with a large number of rectangles on the same sheet. But what is the code to look for all rectangles???
I have been looking around but can't find anything.
Thanks for advise,
Joke
Dim chbox As CheckBox
For Each optBut In ActiveSheet.OptionButtons
optBut.Enabled = False
Next optBut
I would like todo the same with a large number of rectangles on the same sheet. But what is the code to look for all rectangles???
I have been looking around but can't find anything.
Thanks for advise,
Joke