?
Solved

In Excel 2003, macro that compresses a grouping from the top of the group

Posted on 2011-03-09
3
Medium Priority
?
248 Views
Last Modified: 2012-05-11
I have a number of grouped ranges on a sheet and I would like to be able to compress them from the top. Some of the ranges cover too many rows to see the little minus sign icon beneath the bottom row. I would like to have a button on the top of the range to compress it so that I can see the range below it.

Thanks,
John
0
Comment
Question by:gabrielPennyback
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 2000 total points
ID: 35089530
John, you can set your grouping to reverse the summary rows to above data

In XL03, when you do the subtotal, uncheck the SUmmary below data checkbox
In XL07, click on the bottom right of the Data \ Outline ribbon to access that option

Thomas
0
 
LVL 1

Author Comment

by:gabrielPennyback
ID: 35089569
Excellent, thanks, Thomas. As soon as I posted the question I realized I could achiebve the same result with a button and a macro that hides and unhides rows, but thanks for the tip.it's a much better way to do it.

- John
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35089600
And don't forget the number toggle buttons on the top left of your worksheet, that minimize the grouping at the various grouping levels.

Thanks for the grade,

Thomas
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question