Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA: Collapse Column Groupings
I have a spreasheet with Columns H-AB, BD-BF, and BJ-CD grouped. Therefore I
have 1 level of column grouping. What is the VBA code to collapse and expand these groupings? Thanks in advance |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA: Collapse Column Groupings
I think you would want to keep the 1st columns H, BD, and BJ and hid the other columns or unhide these columns columns("I:AB").Hide columns("BE:BF").Hide columns("BK:CD").Hide columns("I:AB").UnHide columns("BE:BF").UnHide columns("BK:CD").UnHide -- joel ------------------------------------------------------------------------ joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=151848 Microsoft Office Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Group of column can't be expanded or collapse after I set a protec | Excel Discussion (Misc queries) | |||
Auto Filter - how to collapse "non-blank" cells in a column? | Excel Discussion (Misc queries) | |||
Groupings in a scattergraph | Charts and Charting in Excel | |||
Outlining - collapse rows based on repeated column value | Excel Discussion (Misc queries) | |||
Groupings within PivotTables | Excel Worksheet Functions |