C
Cunning_Plan
Hi all,
I've been writing a macro at work to re-format a large data set. In order to
make this more readable and to allow for better summaries both the columns
and rows are grouped (allowing them to be expanded or collapsed).
I was wondering if there is away to collapse the groups from within the
macro. I would like the default positions of the groups to be collapsed so
that when the macro finishes all groups are collapsed. something like:
Selection.Columns.Group expand = false
or some such....
The macro recorder produced no results and using a search term like groups
in a google search produces few useful results!
I would imagine from this i would also then be able to make a custom button
to collapse or expand all groups (unless this is already possible)
I'm using office 97.
Many thanks for any and all comments,
Cunning
I've been writing a macro at work to re-format a large data set. In order to
make this more readable and to allow for better summaries both the columns
and rows are grouped (allowing them to be expanded or collapsed).
I was wondering if there is away to collapse the groups from within the
macro. I would like the default positions of the groups to be collapsed so
that when the macro finishes all groups are collapsed. something like:
Selection.Columns.Group expand = false
or some such....
The macro recorder produced no results and using a search term like groups
in a google search produces few useful results!
I would imagine from this i would also then be able to make a custom button
to collapse or expand all groups (unless this is already possible)
I'm using office 97.
Many thanks for any and all comments,
Cunning