Pivot Cache Crash Conundrum!

20 Ton Squirrel

New Member
Joined
Aug 18, 2011
Messages
11
The Setup:
An Excel 2003 workbook containing 20 pivots all based on a single data range. The range is 24,000 rows by 20 columns, so naturally the workbook is getting some serious bloat.

Documentation on caches is sparse, but I read somewhere that pivot tables based on the same source can all have the same cache, evidenced in some code found here:

http://www.contextures.com/xlPivot11.html

I changed the cacheIndex on all my pivots to be based on the first cache, saved the workbook, and saw the 60Mb workbook drop to 12Mb.

The Problem:
Refreshing the pivots causes Excel to immediately seize up and crash! Am I barking up the wrong tree here?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,224,590
Messages
6,179,763
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top