checkboxes

  • Thread starter Thread starter ashli
  • Start date Start date
A

ashli

I have a group of checkboxes. I would like to have the option of
clicking one that would select all of the others. Is this possible?
Thanks.
 
Add something like this to the click event of the one checkbox:

Private Sub CheckBox1_Click()
Me.CheckBox2 = True
Me.CheckBox3 = True
Me.CheckBox4 = True
End Sub

If you want all the checkboxes to mirror the first one, then you can do
this:

Private Sub CheckBox1_Click()
Me.CheckBox2 = Me.CheckBox1
Me.CheckBox3 = Me.CheckBox1
Me.CheckBox4 = Me.CheckBox1
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top