sorry Shg, is because I am quite un expert with VBA some time is also difficult for me to explain the error.
Yes is the checkbox from the control tool box the one that I would like to know how should be declared in order to pick the name from sheet13 in a workbook, and check if that checkbox, which is in sheet4, is cheeked or not.
I declared checkboxname as an object
I also set checkboxname in sheet4 but I think that is a mistake
And then in the code I assign the value of a cell in sheet13 (text with the name of the check box in sheet4) to the variable checkboxname
To finally ask if that checkbox is tick or not in sheet4 to perform other things
If I use the name of the checkbox directly for example
works ok, but because there are several switches I was thinking to use a for routine intead of many if for each switch.
I really appreciate any help with this.
Best regards to all
Bookmarks