LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Collapsing groups in Macro

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collapsing filtered macro DFrank Excel Worksheet Functions 2 July 4th 08 11:13 PM
Expanding and Collapsing Groups within a Protected Workbook blue Excel Worksheet Functions 1 January 17th 07 02:50 PM
Collapsing Grouped rows by Macro Philip J Smith Excel Programming 1 April 26th 06 02:25 PM
shortcut for expanding/collapsing groups BorisS Excel Discussion (Misc queries) 2 December 22nd 05 07:11 PM
Collapsing/Hiding radio and macro buttons Lance Gray Excel Discussion (Misc queries) 1 December 20th 05 04:50 PM


All times are GMT +1. The time now is 01:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"