Hello

What I have is 10 checkboxes 1 to 10 which all can be one of several options (the options are constant for all the checkboxes) and I need to change a variable according to what the checkbox.text preperty contains.

I plan to use a For to next statement

Code:
For i = 0 to 9 
If Checkbox(i+1).text = "hello" then
String(i) = "bye"
End If

If Checkbox(i+1).text = "sad" then
String(i) = "happy"
End If

Next i
However I cannot refer to a checkbox in the way i have done above.
Essentially how do get what the checkbox contains based on on my counter, i.

Note: it is i+1 because the first check box starts at one yet my counter starts at zero.

Cheers
TKP