jedymaster
Programmer
Hi there!
I'm trying to get the status of some OptionButton on a worksheet. At runtime, the OptionButtons seems to be empty but there are several option button on the sheet.
The code I'm using is following :
What am i doing wrong ?
Thanx !
Jedymaster
I'm trying to get the status of some OptionButton on a worksheet. At runtime, the OptionButtons seems to be empty but there are several option button on the sheet.
The code I'm using is following :
Code:
...
For Each o In Worksheets("TheSheet").OptionButtons
If o.Name = obId Then
getOptionBoxValue = o.Value
Exit For
End If
Next
...
What am i doing wrong ?
Thanx !
Jedymaster