I've trying to figure out how to do this, but errors didn't stop flooding me.
The following code works fine:
For i = 1 To 50
Me.Controls("CheckBox" & i).Visible = True
Next i
But when I modify it to:
For i = 1 To 50
Me.Controls("CheckBox" & i).Checked = False
Next i
I have even tried to mofify it to:
For i = 1 To 50
System.Windows.Forms.CheckBox("CheckBox" & i).Checked = False
Next i
But the error still exsists. How would I fix this?