I have scoured the internet and can't seem to find others having this same problem.
I have a spreadsheet with multiple grouped ActiveX option boxes. The user is to go down the spreadsheet and select options from the boxes (usually yes no). The code simply hides rows that the user shouldn't have to answer based on their previous choices. Example code:
Private Sub OptionButton3_Click()
'High School Diploma YES Option
Application.ScreenUpdating = False
Sheets("Sheet1").Rows("18:38").Hidden = True
Application.ScreenUpdating = True
End Sub
Private Sub OptionButton4_Click()
'High School Diploma NO Option
Application.ScreenUpdating = False
Sheets("Sheet1").Rows("18:38").Hidden = False
Application.ScreenUpdating = True
End Sub
My problem is, whenever I unhide one of these rows (for example, a user changes a "Yes" to a "No") the activeX optionboxes that were previously hidden are now unclickable, and subsequently unuseable. Anyone have any ideas what's causing this and how to fix it?
I even tried independently hiding the control boxes before hiding the rows, but I got the same result
(ActiveSheet.Shapes.Range(Array("Group 1", "Group 2", "Group 3")).Visible = False)
Pretty new to controls, so not sure if I'm making an obvious mistake here. any help is greatly appreciated.