I have a form, that when I open it, I want to be able to see all the textboxes that are on the form. When I click a check box, I want to hide multiple textboxes, up to 5 or 6 per check box. The below code, will get one checkbox to hide one text box, ([A10]) . I need to know how to get one check box to hide multiple text boxes. ([A10], [A20], [A30], ect)
Any help is greatly appreciated!
Private Sub Check254_AfterUpdate()
If [A10].Visible = True Then
[A10].Visible = False
Else
[A10].Visible = True
End If
End Sub