#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default subtotal like

Hello,

i saw a spreadsheet where they collumns could be collapsed as if they used subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and there is no reason for a subtotal.

How could they do it.

Tnx


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 108
Default subtotal like

Select your data range you would like to group. On the menu bar select Data
Group and outline. That's should do it.

--
If u change the way u look @ things, the things u look at change.


"zekni" wrote:

Hello,

i saw a spreadsheet where they collumns could be collapsed as if they used subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and there is no reason for a subtotal.

How could they do it.

Tnx


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default subtotal like

Hi zekni,

To hide/unhide certain columns then
Select column(s), Format, Columns, Hide/unhide column

You can record a macro, put the code into an event macro and
toggle the hiding or unhiding of columns with a double-click event.

Example:

Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
'to install -- right-click on the sheet tab of the sheet to
' be used in and choose 'view code'. Paste this Worksheet
' event macro into the module. 2007-05-11 misc
'http://www.mvps.org/dmcritchie/excel/event.htm
Cancel = True 'get out of entry mode
If Range("A1").Interior.ColorIndex < 0 Then
Range("B:B,D:E,H:H").EntireColumn.Hidden = True
Range("A1").Interior.ColorIndex = 35
Else
Cells.EntireColumn.Hidden = False
Range("A1").Interior.ColorIndex = -1
End If
End Sub

Since I don't know how to test to see if any columns are hidden
I changed the interior color of cell A1, there would be ways of
being less conspicuous, but thought maybe the fact that it
is conspicuous might be helpful.

--

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"zekni" wrote in message ...
Hello,

i saw a spreadsheet where they collumns could be collapsed as if they used subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and there is no reason for a subtotal.

How could they do it.

Tnx



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default subtotal like

Hi zekni,
see answer in newsgroup, please post in plain text
not in HTML. You can see how HTML messed up
Google Groups archives, where the other replies show
"quoted text", and my reply doesn't even show
comment delimiters.

http://groups.google.com/groups?thre...GP06.p hx.gbl

Turning off MIME/HTM/RichTextFormat in Outlook Express
http://www.mvps.org/dmcritchie/excel....htm#nomimeoe6

--
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

all of the following should be preceded by a comment delimiter ("")
at the beginning of each line after the next line, which would be
the case had you posted in plain text.

"zekni" wrote in message ...
Hello,

i saw a spreadsheet where they columns could be collapsed as if they used subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and there is no reason for a subtotal.

How could they do it.

Tnx


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default subtotal like

Thank you gentlemen

It works

Zekni

"zekni" schreef in bericht ...
Hello,

i saw a spreadsheet where they collumns could be collapsed as if they used subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and there is no reason for a subtotal.

How could they do it.

Tnx




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default subtotal like

Thank you.

It works

Zekni


"zekni" schreef in bericht
...
Hello,

i saw a spreadsheet where they collumns could be collapsed as if they used
subtotals with a plus or a minus.

Subtotals open enclose vertically, here they open en close vertically and
there is no reason for a subtotal.

How could they do it.

Tnx


Reply
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
How do I Subtotal, then Sort by Subtotal Amounts? dnamertz Excel Discussion (Misc queries) 3 October 29th 06 01:17 AM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 07:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 04:52 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 29th 06 12:10 AM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 02:46 PM


All times are GMT +1. The time now is 03:21 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"