Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default XL2002 - Group / Outline / ShowDetail...

Hello All

I have 4 groups of rows on a sheet and want vba to return whether each one
is expanded or collapsed.

Any suggestions?

Thanks

Trevor Williams
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default XL2002 - Group / Outline / ShowDetail...

On May 13, 6:15*am, Trevor Williams
wrote:
Hello All

I have 4 groups of rows on a sheet and want vba to return whether each one
is expanded or collapsed.

Any suggestions?

Thanks

Trevor Williams


First, you must apply a name to the cells that can be hidden for each
group. Then you can return the hidden property of each range with the
following line of code. I have used the range that I have designated
"MyGroup1".

MsgBox Range("MyGroup1").EntireRow.Hidden

Replace MsgBox with a variable where you want to store the property.
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
group and outline gonevertical Excel Discussion (Misc queries) 0 September 9th 09 12:02 AM
Under data/Group&outline/group Bernard Excel Discussion (Misc queries) 1 July 2nd 09 01:02 AM
"Data Group and Outline Group" feature Limited to 8 levels MarekMG Excel Discussion (Misc queries) 3 May 25th 07 06:12 PM
Group and Outline Marsh New Users to Excel 2 January 27th 07 05:19 PM
Group and Outline Cara Excel Discussion (Misc queries) 1 October 10th 06 01:53 AM


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