ChristineJ
Well-known Member
- Joined
- May 18, 2009
- Messages
- 775
- Office Version
- 365
- Platform
- Windows
I am using Range("10:20").EntireRow.Hidden = True and Range("10:20").EntireRow.Hidden = False to toggle back and forth between showing and hiding these rows. Some of these rows have a checkbox form that fits in its row in column V.
I want the checkboxes in the rows to hide as well when the rows are hidden. Right now they all stack up on top of one another so it looks like one remains. In addition, when I close and reopen my file, the checkboxes no longer are in the rows where I placed them, but instead all stacked into one.
I was told to use the Move and Size with Cells property, but that is grayed out with this type of form. I don’t want an ActiveX form. Is there code I can add to anchor these checkboxes so they stay where they are and so that they all hide?
I want the checkboxes in the rows to hide as well when the rows are hidden. Right now they all stack up on top of one another so it looks like one remains. In addition, when I close and reopen my file, the checkboxes no longer are in the rows where I placed them, but instead all stacked into one.
I was told to use the Move and Size with Cells property, but that is grayed out with this type of form. I don’t want an ActiveX form. Is there code I can add to anchor these checkboxes so they stay where they are and so that they all hide?