W
Will
I have an excel worksheet ("Sheet 1") with a number of Optionbuttons
all of which I want to disable
via macro which runs from another worksheet ("Sheet 2").
So I want to do something like this:
For i = 1 To 7
Sheets("Sheet 1").Controls("OptionButton" & i).Enable = False
Next i
Will this work?
Or am I missing something?
all of which I want to disable
via macro which runs from another worksheet ("Sheet 2").
So I want to do something like this:
For i = 1 To 7
Sheets("Sheet 1").Controls("OptionButton" & i).Enable = False
Next i
Will this work?
Or am I missing something?