S
Simon
I'm setting up a questionnaire on a worksheet and have assigned pairs
of option buttons as Yes / No to compile answers to a series of
questions. I have 10 pairs of option button on one sheet, each with
their own unique name. The option buttons are Active X.
However only one option button at any time can be checked. Why is
that and what can I do to prevent it? I want one button of each pair
to be checked as an individual works through the questions.
Second related question: At the end of the questionnaire I want to
reset all the option buttons to their default value, which for the Yes
button is False and the No buttons the value is True.
Currently (obWSLQ1Y is one of my option buttons)
obWSLQ1Y.value = True 'works well.
When I try to be smart and reconfigure as a loop the concatenation
doesn't work i.e.
sub Reset
dim i as integer
For i = 1 to 3
obWSLQ &i & Y.value = true
Next
Can you offer some guidance please on how to resolve the
concatenation.
Many thanks
Simon
End sub
of option buttons as Yes / No to compile answers to a series of
questions. I have 10 pairs of option button on one sheet, each with
their own unique name. The option buttons are Active X.
However only one option button at any time can be checked. Why is
that and what can I do to prevent it? I want one button of each pair
to be checked as an individual works through the questions.
Second related question: At the end of the questionnaire I want to
reset all the option buttons to their default value, which for the Yes
button is False and the No buttons the value is True.
Currently (obWSLQ1Y is one of my option buttons)
obWSLQ1Y.value = True 'works well.
When I try to be smart and reconfigure as a loop the concatenation
doesn't work i.e.
sub Reset
dim i as integer
For i = 1 to 3
obWSLQ &i & Y.value = true
Next
Can you offer some guidance please on how to resolve the
concatenation.
Many thanks
Simon
End sub