I have several dozen forms (checkboxes) that I hope can share a macro, since a bit more programming on one would be better than maintaining identical code for each.
Scenario: for each question on an audit form, there might be a yes/no checkbox or a numerical spinner -- but there is always an associated "Not Applicable" checkbox. The latter, if checked, should disable the former as well as affect the underlying calculations.
So my idea is use the name of the calling checkbox (the enable/disable one) to re-create the name of the affected checkbox (or spinner) for editing, with some trivial text operations.
So what I need is something like "thisCheckbox.Name".
I couldn't use ActiveX controls since they can't share events, but stumbling through the online help and my general purpose Office references don't clue me in to this.
Any help?
--
Richard
Scenario: for each question on an audit form, there might be a yes/no checkbox or a numerical spinner -- but there is always an associated "Not Applicable" checkbox. The latter, if checked, should disable the former as well as affect the underlying calculations.
So my idea is use the name of the calling checkbox (the enable/disable one) to re-create the name of the affected checkbox (or spinner) for editing, with some trivial text operations.
So what I need is something like "thisCheckbox.Name".
I couldn't use ActiveX controls since they can't share events, but stumbling through the online help and my general purpose Office references don't clue me in to this.
Any help?
--
Richard