S
spunkymuffmonkey
Hi all,
I am wondering if it is possible to return the table number of the current
selection.
I have a document that contains a button for creating a new table (formatted
in a specific way), each new table contains a activeX control checkbox that
if the user clicks they are prompted with a msgbox that asks if they wish to
delete part of this new table.
Each new ActiveX control is named checkbox1, checkbox2 of course.
potentially users could create anywhere up to 200 new tables and without
creating a separate sub for each checkbox in anticipation (i.e. document
template would have possibly 199 redundant subs in it) I am at a loss how I
can best manage this.
One thought I had is if I could establish what tablenumber the checkbox was
fired from then I could find someway of creating a 'one sub works for all
checkboxes' type situation.
I hope that the above makes sense and that somebody has a suggestion for me!
Many thanks for looking
I am wondering if it is possible to return the table number of the current
selection.
I have a document that contains a button for creating a new table (formatted
in a specific way), each new table contains a activeX control checkbox that
if the user clicks they are prompted with a msgbox that asks if they wish to
delete part of this new table.
Each new ActiveX control is named checkbox1, checkbox2 of course.
potentially users could create anywhere up to 200 new tables and without
creating a separate sub for each checkbox in anticipation (i.e. document
template would have possibly 199 redundant subs in it) I am at a loss how I
can best manage this.
One thought I had is if I could establish what tablenumber the checkbox was
fired from then I could find someway of creating a 'one sub works for all
checkboxes' type situation.
I hope that the above makes sense and that somebody has a suggestion for me!
Many thanks for looking