VBA_Newbie_
New Member
- Joined
- Oct 21, 2019
- Messages
- 2
Hello,
I've been trolling this forum on how to expand grouped rows based on cell value in VBA but haven't been able to get any of the posted codes to work for me.
I have three sections of collapsed grouped rows that I would like to have automatically expand if the cell value changes to "Yes". If the cell value is "No" I would the like rows to remain collapsed. Ideally, I would also like the rows to re-collapse if the cell value changes from "Yes" to "No" or if left blank. (Not as big of a concern as getting the cells to expand initially.)
First Cell: C52
First Range: Rows 54-58
Second Cell: C59
Second Range: 61-64
Third Cell: D65
Third Range: 67-77
Any help is greatly appreciated!
I've been trolling this forum on how to expand grouped rows based on cell value in VBA but haven't been able to get any of the posted codes to work for me.
I have three sections of collapsed grouped rows that I would like to have automatically expand if the cell value changes to "Yes". If the cell value is "No" I would the like rows to remain collapsed. Ideally, I would also like the rows to re-collapse if the cell value changes from "Yes" to "No" or if left blank. (Not as big of a concern as getting the cells to expand initially.)
First Cell: C52
First Range: Rows 54-58
Second Cell: C59
Second Range: 61-64
Third Cell: D65
Third Range: 67-77
Any help is greatly appreciated!