J
Jim gardner
This must be simple but how do I use a variable to refer
to multiple fields? I have a user form with many check
boxes (eg CheckBox1, CheckBox2....etc). I want to test if
any of them has been checked within a loop eg
For i = 1 to 20
If CheckBox & i = True then etc etc
End if
Next i
What syntax do I need? I can't find any reference in the
online help. I tried using the syntax shown above but it
seems that the expression evaluates to True for every
occurrence of "i" even when I only tick one box!
Many thanks
Jim
to multiple fields? I have a user form with many check
boxes (eg CheckBox1, CheckBox2....etc). I want to test if
any of them has been checked within a loop eg
For i = 1 to 20
If CheckBox & i = True then etc etc
End if
Next i
What syntax do I need? I can't find any reference in the
online help. I tried using the syntax shown above but it
seems that the expression evaluates to True for every
occurrence of "i" even when I only tick one box!
Many thanks
Jim