Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default SelectionChange and Pivot Tables

Dear All,

my testing to date doesn't show that a change in pivot table criteria
fields triggers a SelectionChange event.

As I get a "too many records to complete" error message when I try and
add a Calculated Item, I am attempting to add an additional column to
the right of the pivot table which does my calculation for me.

Basically I want to do the following:
1.Select Pivot Field criteria
2. Trigger SelectionChange
3. Run some code that calculates the number of rows returned in the
pivot table, then add some formulas to the right hand side of the pivot
based upon data in the pivot.

Is there a way I can trigger an event once the criteria changes in a
pivot table?


Regards,

andym

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default SelectionChange and Pivot Tables

Selection change is not triggered when part of a pivot table is changed. You
want the Pivot Change event (which only exists in XL2002 and beyond).
--
HTH...

Jim Thomlinson


"andym" wrote:

Dear All,

my testing to date doesn't show that a change in pivot table criteria
fields triggers a SelectionChange event.

As I get a "too many records to complete" error message when I try and
add a Calculated Item, I am attempting to add an additional column to
the right of the pivot table which does my calculation for me.

Basically I want to do the following:
1.Select Pivot Field criteria
2. Trigger SelectionChange
3. Run some code that calculates the number of rows returned in the
pivot table, then add some formulas to the right hand side of the pivot
based upon data in the pivot.

Is there a way I can trigger an event once the criteria changes in a
pivot table?


Regards,

andym


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default SelectionChange and Pivot Tables

Thanks Jim....

looks like a good case for the boss to approve an upgrade!!!

Regards,

andym

Jim Thomlinson wrote:
Selection change is not triggered when part of a pivot table is changed. You
want the Pivot Change event (which only exists in XL2002 and beyond).
--
HTH...

Jim Thomlinson


"andym" wrote:

Dear All,

my testing to date doesn't show that a change in pivot table criteria
fields triggers a SelectionChange event.

As I get a "too many records to complete" error message when I try and
add a Calculated Item, I am attempting to add an additional column to
the right of the pivot table which does my calculation for me.

Basically I want to do the following:
1.Select Pivot Field criteria
2. Trigger SelectionChange
3. Run some code that calculates the number of rows returned in the
pivot table, then add some formulas to the right hand side of the pivot
based upon data in the pivot.

Is there a way I can trigger an event once the criteria changes in a
pivot table?


Regards,

andym



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
Pivot tables - Editing the data source shared by multiple pivot ta sankat Excel Discussion (Misc queries) 1 April 22nd 10 03:05 PM
Building pivot tables in Excel 2007 based on existing pivot tables? [email protected] Excel Discussion (Misc queries) 4 December 26th 07 08:05 PM
Pivot Table Data Adding contents of two pivot tables and param que Roundy Excel Discussion (Misc queries) 0 July 2nd 07 10:20 PM
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. stvermont Excel Discussion (Misc queries) 1 February 17th 05 01:34 AM
Pivot tables-controlling user interaction with pivot tables Sindhura Excel Programming 0 August 27th 03 02:10 PM


All times are GMT +1. The time now is 07:02 AM.

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

About Us

"It's about Microsoft Excel"