LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Outline.ShowLevels

Hi TWIMC,

Is there a way that if I set the outline.showlevel to 2, that all levels
below are collapsed, so that if a user clicks on the 3rd level, levels 4, 5
and 6 don't show. Or is there a way to find out how many row levels there are
so that I can collapse each level and then set outline.showlevel to 2?

e.g.
for Z = worksheet.rowlevels.count to 1 Step -1
worksheet.outline.levels = Z
Next Z

worksheet.outline.levels = 2

TIA
KM
 
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
Grouping and outline Joel Excel Discussion (Misc queries) 2 August 28th 07 01:40 PM
Outline Numbering Dr. Sachin Wagh Excel Worksheet Functions 2 March 2nd 07 07:34 AM
outline Vinaya Excel Worksheet Functions 2 June 22nd 06 08:01 PM
Outline.ShowLevels KaiRich Excel Programming 2 June 25th 04 01:48 AM
CONDITIONAL OUTLINE Greg[_9_] Excel Programming 5 August 29th 03 06:51 PM


All times are GMT +1. The time now is 05:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"