Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Group & Outline - how do I hide detail programmatically

Dear all,

I've written some code that runs down a column and uses the data therein to
group some rows together. All so far so good, but I want the default display
to be with detail hidden.

Any pointers?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Group & Outline - how do I hide detail programmatically

I'm going to answer my own question in case anyone else searches and finds
it...

I used ExecuteExcel4Macro "SHOW.DETAIL(a,b,c,d)"

In the string a,b,c,d the letters represent the following:

a=1 (indicates rows)
b=last row number to hide
c=FALSE (indicates hide, TRUE indicates show)
d= row above where group starts

Sam



"Sam Wilson" wrote:

Dear all,

I've written some code that runs down a column and uses the data therein to
group some rows together. All so far so good, but I want the default display
to be with detail hidden.

Any pointers?

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
Hide/Show details in an Outline Group JimAA Excel Discussion (Misc queries) 0 November 11th 09 05:56 PM
How do I show or hide detail for a group in a protected worksheet Gilles FAURE Excel Discussion (Misc queries) 0 November 1st 06 01:47 AM
Macro to show/hide detail in an outline NathanPage Excel Discussion (Misc queries) 1 December 8th 05 03:10 PM
hide detail / close group outline Bettergains Excel Programming 0 February 18th 05 08:37 PM
How do I hide the outline of a Forms Group Box? MadTodd Excel Discussion (Misc queries) 7 January 17th 05 05:45 PM


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