Permabanned
Ive got a few checkboxes on an Access form and i want to loop through them checking to see if theyre ticked or not, im doing this at the moment....
Now it goes into the for..each loop once then when it hits the Next i get a type mismatch error. Any ideas?
Code:
Dim chkObj as Checkbox
For Each chkObj In Me.Controls
If chkObj = False Then
Select Case chkObj.Name
.
.
.
.
End Select
End If
Next
Now it goes into the for..each loop once then when it hits the Next i get a type mismatch error. Any ideas?