In the following code, I'm attempting to make all my checkboxes clear to a .false state, using a for next loop, Instead of typing each box in.

I'm new to vb and am unsure how I use a string variable with the checkbox objects. Have a look and see if you can help.

Thanks Dennis

Private Sub Cm1_Click()

Dim x As String

For c = 1 To 55
'Dim x As String
x = "a" + c
x.Value = False
next c
'instead of below
'a1.Value = False
'a2.Value = False
'a3, a4, a5,...
't1.Text = ""

End Sub