chuckles1066
Banned
- Joined
- Dec 20, 2004
- Messages
- 372
I have 24 checkboxes on my userform.
Is there a quicker way to count how many have been checked than
I tried
but that errored.
Is there a quicker way to count how many have been checked than
Code:
If CheckBox1.Value = TRUE then count = count+1
If CheckBox2.Value = TRUE then count = count+1
...
...
...
If CheckBox24.Value = TRUE then count = count+1
I tried
Code:
For x = 1 to 24
If CheckBox & x.Value = TRUE then count = count+1
Next
but that errored.
Last edited: