J
Jesper F
Trying to get/set value from a checkbox.
I'm using the controltoolbox-checkbox.
I'm using:
Worksheets("refdata").Shapes(varname).ControlFormat.Value = 1
but getting a object does not support property error.
I need to refer to the checkbox with "varname" being af changable variable.
What is the correct syntax?
Thanks.
I'm using the controltoolbox-checkbox.
I'm using:
Worksheets("refdata").Shapes(varname).ControlFormat.Value = 1
but getting a object does not support property error.
I need to refer to the checkbox with "varname" being af changable variable.
What is the correct syntax?
Thanks.