planix
Technical User
- Dec 3, 2002
- 22
Hi,
I have a spreadsheet with 275 checkboxes on it. When a checkbox is selected a calculation is performed dependent on it's state and caption values. The same calculation is performed for each checkbox and I have made this a function.
The question: is there a way to trap for mouse events so I only need one routine to identify whether a checkbox has been selected and if so to pass on that checkbox's .Value and .Caption to the function? Otherwise I need to attach the function call to each checkbox and I figure there has to be a neater way ... I just don't know it.
Each checkbox is default named (CheckBox1, CheckBox2... CheckBox275)
Thanks
Alistair
I have a spreadsheet with 275 checkboxes on it. When a checkbox is selected a calculation is performed dependent on it's state and caption values. The same calculation is performed for each checkbox and I have made this a function.
The question: is there a way to trap for mouse events so I only need one routine to identify whether a checkbox has been selected and if so to pass on that checkbox's .Value and .Caption to the function? Otherwise I need to attach the function call to each checkbox and I figure there has to be a neater way ... I just don't know it.
Each checkbox is default named (CheckBox1, CheckBox2... CheckBox275)
Thanks
Alistair