Hi there!
To
hide and
show a
grouped column via
VBA code, you can use the following code:
- To hide the grouped column:
Formula:
Columns("C:D").EntireColumn.Hidden = True
- To show the grouped column:
Formula:
Columns("C:D").EntireColumn.Hidden = False
You can replace "C:D" with the range of your grouped column.
Hope this helps! Let me know if you need further assistance.