G
Guest
Hi TWIMC,
can someone please tell me why the following line of code doesn't return the
most logical value when a check box is unchecked,
ActiveSheet.CheckBoxes("Check Box 1").Value
Instead of retunring the expected value 0 it returns -4146. If I set a
Linked cell then I do get FALSE and TRUE appearing but I want to reference
the value of the Check Box not the cell.
I want to reference the value of the check box for the following line of code.
ActiveSheet.Columns("D:H").Hidden = ActiveSheet.CheckBoxes("Check Box
1").Value, it works to hide but does't to unhide.
Thanks in advance
KM
can someone please tell me why the following line of code doesn't return the
most logical value when a check box is unchecked,
ActiveSheet.CheckBoxes("Check Box 1").Value
Instead of retunring the expected value 0 it returns -4146. If I set a
Linked cell then I do get FALSE and TRUE appearing but I want to reference
the value of the Check Box not the cell.
I want to reference the value of the check box for the following line of code.
ActiveSheet.Columns("D:H").Hidden = ActiveSheet.CheckBoxes("Check Box
1").Value, it works to hide but does't to unhide.
Thanks in advance
KM