Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Trapping expansion or collapse of outlines

Hi all,

Is there any way of determining when a user has expanded or collapsed an
outline level on a worksheet?

I have a number of worksheets which use outlines to display hierarchical
details. It's not a major problem, but users don't like the fact that
collapsing a given node doesn't collapse the levels below it (i.e. when they
reopen it, previously expanded levels are still open.)

If I can capture it happening, then I can probably work out some way of
rolling up the child nodes myself.

Cheers, Pete.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Trapping expansion or collapse of outlines

To the best of my knowledge, this doesn't fire any event.

If you had a cell containing subtotal that referenced all the rows, this
would trigger a calculate event in xl2003 I would think (earlier versions, I
don't think so). If you kept track of which rows were hidden then you might
be able to discern whether the calculate event was triggered by a change in
the number of hiddetn rows and then figure out which ones.

So bottom line is no built in support for it.

--
Regards,
Tom Ogilvy


"Pete McCosh" wrote:

Hi all,

Is there any way of determining when a user has expanded or collapsed an
outline level on a worksheet?

I have a number of worksheets which use outlines to display hierarchical
details. It's not a major problem, but users don't like the fact that
collapsing a given node doesn't collapse the levels below it (i.e. when they
reopen it, previously expanded levels are still open.)

If I can capture it happening, then I can probably work out some way of
rolling up the child nodes myself.

Cheers, Pete.

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
Formula expansion Connie Martin Excel Worksheet Functions 8 November 14th 08 10:04 PM
Formula Expansion Appache Excel Discussion (Misc queries) 3 March 11th 08 08:14 AM
Allow expand/collapse of Excel outlines on protected sheets The Blue Max Excel Discussion (Misc queries) 0 January 17th 08 06:38 PM
Programming Outlines (expand/collapse rows) in Excel [email protected] Excel Programming 0 January 17th 07 10:33 PM
Row Expansion Susan Excel Worksheet Functions 11 February 28th 06 07:15 PM


All times are GMT +1. The time now is 07:17 PM.

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"