Quote:
|
I think I'd try passing the checkbox object itself
|
If that means a
Code:
Private Sub CB1a_Click
Call DoWithBox "CB1a"
Sub
with a manually typed 'Call DoWithBox "CB_1a"' included, then that's exactly what I would not like to do. Passing the name in this way, I'd have to change each Private _Click sub if (for what ever reason) I have to rename my check boxes.
I'd like to use the same code for each check box, sth. like 'Call DoWithBox CheckBox.Name'
Any other idea

NP