Solved

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

Posted on 2011-03-09
3
223 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 500 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now