Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Hiding All Groups

I have a macro that generates some reports and adds groups for drill downs.
Is there a simple way to have Macro collapse all of the groups when it's
finished? I've tried using .Hidden = true as I generate the regions, but
that only appears to collapse the top level, when you open the top level,
all of the bottom levels are still open.......

Regards,

Tim.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Hiding All Groups

Can you do it manually. If so, then turn on the macro recorder while you do
it.

Otherwise, I think you will have to loop to find your groups and do the
hiding. Again, the macro recorder should come in handy to get the code.

--
Regards,
Tom Ogilvy

"Tim Payne" wrote in message
...
I have a macro that generates some reports and adds groups for drill

downs.
Is there a simple way to have Macro collapse all of the groups when it's
finished? I've tried using .Hidden = true as I generate the regions, but
that only appears to collapse the top level, when you open the top level,
all of the bottom levels are still open.......

Regards,

Tim.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Hiding All Groups

Hi Tom,

Thanks for the advice, I've managed to get it to loop through each level and
close by recording pressing the group buttons at the top of the grouping
columns!

:)

Tim.


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
Groups from IE Linda RQ[_2_] Excel Discussion (Misc queries) 7 March 24th 09 07:38 PM
Excel - Sorting groups in groups due to subtotaling [email protected] Excel Worksheet Functions 3 April 4th 08 06:13 PM
Row groups Petros[_2_] Excel Discussion (Misc queries) 3 March 6th 08 11:02 PM
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
how do i view all groups under excel in google groups JulieD Excel Discussion (Misc queries) 2 December 16th 04 04:33 PM


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