Hi All,
I'm using excel 2007 and have just discovered the grouping rows function (that does not use a pivot table - i.e. data > group > group) - which is awesome
I have noticed that there are 2 buttons on the left of the screen when using this (1 / 2), where clicking on '1' collapses all groups and '2' expands all groups.
I would like to be able to assign a macro to a button to perform these two functions (so two buttons, one labelled 'Expand Groups' and the other 'Collapse Groups') so that it is easier for my end users to use?
I am no expert in creating VBA code though, and so I don't know where i'd even begin with this.....
Thanks!
I'm using excel 2007 and have just discovered the grouping rows function (that does not use a pivot table - i.e. data > group > group) - which is awesome

I have noticed that there are 2 buttons on the left of the screen when using this (1 / 2), where clicking on '1' collapses all groups and '2' expands all groups.
I would like to be able to assign a macro to a button to perform these two functions (so two buttons, one labelled 'Expand Groups' and the other 'Collapse Groups') so that it is easier for my end users to use?
I am no expert in creating VBA code though, and so I don't know where i'd even begin with this.....
Thanks!