Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subtotal Expend/Shrink (+/-) Group Buttons

Status
Not open for further replies.

vladk

Programmer
May 1, 2001
991
US
Hi,

Is it possible to catch the very event of clicking at that buttons?

Thank you

vladk
 
Hi,

there is no event that captures clicking the expand/collapse group buttons.

Why would you need to capture this?

Cheers,

Roel
 
Rofeu,

I know that technically, there is no event for this. I am curious if any non straight methods can be found to intercept this.

vladk
 
SkipVought,

I did it ahead of time. It's not fired.

vladk
 
Hi,

not sure how Skip thought of using the Worksheet_Calculate event to capture this, but if you have have Excel 2003 I think you can add a column and put numbers in there, then put something to the extend of =SUBTOTAL(109,A:A) somewhere in your sheet that's not grouped. It sums only the visible cells therefore it recalculates if you hide/unhide rows.

Cheers,

Roel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top