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

Hi TWIMC,

Same question as yesterday.

I have a Access program that creates a workbook and populates it with data,
I then group the data based on the number of levels normally 6 but could
differ. I then want to collapse all levels, but then want to show the data at
level 2.

Now yes this command shows the data at level 2
ws.Outline.ShowLevels RowLevels:=2

but if you click on level 3, the other levels below level 3 are also
displayed. Thus the view I'm after is that if a user clicks on level 3, level
4 levels ? and ? still remain collapsed.

any help much appriciated
regards
KM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Outline.ShowLevels

Hi Kevin,

Now yes this command shows the data at level 2
ws.Outline.ShowLevels RowLevels:=2

but if you click on level 3, the other levels below level 3 are also
displayed. Thus the view I'm after is that if a user clicks on level
3, level 4 levels ? and ? still remain collapsed.


I am not sure if this fits to your problem:

To workaround I created a dropdownmenu (combobox whatever this is
called in english) where the user should select the level and linked it
to a makro that reads the linked cell of the dropdown, eg.

ws.Outline.ShowLevels RowLevels:=Range("selectedLevel").value

to avoid any trouble I also hide the grouping column totally, so only
the dropdown does the job.

arno

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
outline Vinaya Excel Worksheet Functions 2 June 22nd 06 08:01 PM
Outline Styles teksmith Excel Discussion (Misc queries) 1 March 24th 06 03:48 PM
Outline.ShowLevels Kevin McCartney Excel Programming 2 April 20th 05 05:13 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 08:06 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"