Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot tables - Editing the data source shared by multiple pivot ta | Excel Discussion (Misc queries) | |||
Building pivot tables in Excel 2007 based on existing pivot tables? | Excel Discussion (Misc queries) | |||
Pivot Table Data Adding contents of two pivot tables and param que | Excel Discussion (Misc queries) | |||
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. | Excel Discussion (Misc queries) | |||
Pivot tables-controlling user interaction with pivot tables | Excel Programming |