Hello!!
Im Having trouble with my Visual basic code in Excel 2007.
I'm using the code to hide two rows which works fine, however my code to hide the check box (second line of code) doesn't work so if anyone can see where I'm going wrong that would be great
Im Having trouble with my Visual basic code in Excel 2007.
I'm using the code to hide two rows which works fine, however my code to hide the check box (second line of code) doesn't work so if anyone can see where I'm going wrong that would be great

Code:
Sub CheckBox17_Click()
Rows("34:35").Hidden = Not (Rows("34:35").Hidden)
ActiveSheet.CheckBoxes("CheckBox19").Visible = Not (ActiveSheet.CheckBoxes("CheckBox19").Hidden)
End Sub