LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default PivotTable and PivotChart clear failure

I developed a program wherein I create 2 pivot tables and 1 chart
The two pivot tables are independent of one another, but the chart is related to the second pivot table
The pivot tables and charts all reside on the same Excel worksheet

The program proceeds to delete the 1st pivot table and reconstruct the pivot table in the same location
The program sequentially tries to delete the 2nd pivot table and its chart, then reconstructs the two elements back into the same sheet. This is a refreshing action in the program

The problem I run into is: upon trying to clear the 2nd pivot table, I get a catastrophic failure (i.e. frozen Excel).
I use the pivotTable.TableRange2.Clear( ) call.

In addition I noticed the following problem when I do the following combinations of 2 reports, these are the results

1st report as Pivot Table, 2nd report as Pivot table and Pivot chart --- FAILURE on refresh of both report
1st report as Pivot Table, 2nd report as Pivot Table only --- GOOD on refres
1st report as Pivot Table and Pivot Chart, 2nd report as Pivot Table --- GOOD on refres
1st report as PivotTable and Pivot Chart, 2nd report as Pivot table and Pivot chart -- FAILURE on refres

So basically when the 2nd report contains both a pivot table and pivot chart and we're trying to reconstruct the contents, there is a problem..
 
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
Is a PivotTable/PivotChart the right tool to use for this? winterminute Charts and Charting in Excel 0 January 18th 11 01:05 AM
Link PivotChart to PivotTable, whilst hiding fields clifgriffin Excel Discussion (Misc queries) 0 March 3rd 09 07:03 PM
Make pivotchart formatting stick after pivottable refresh. larry garka Charts and Charting in Excel 3 June 5th 08 03:12 PM
PivotChart disassociation from PivotTable Sean McPoland Charts and Charting in Excel 0 July 4th 07 06:36 AM
How to clear CD Burn Wizard (get "failure due to session in progre Dennis Excel Discussion (Misc queries) 1 January 13th 06 12:36 AM


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