Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel2000, I have afile with about 150 sheets that contain pivots.
I need to change the source range in all the pivots to "Pivot_range". I have the following code: Application.ScreenUpdating = False Dim page Dim pvt As PivotTable For Each sht In Sheets sht.Select For Each pvt In ActiveSheet.PivotTables pvt.SourceData = "pivot_range" Next Next Application.ScreenUpdating = True The problem is that I get not enough memory error after going through 50 sheets or so. I have 2 Gigs of RAM.I. Is there a way I can fix this? Is there another way of programming a range source change? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Pivot Source from One WB to Another? | Excel Discussion (Misc queries) | |||
Using VBA to change Pivot Table data source | Excel Programming | |||
Change pivot source w/o refresh? Can't change original/copied pivo | Excel Programming | |||
change data source of pivot table | Excel Discussion (Misc queries) | |||
Q: Change pivot table source path? | Excel Discussion (Misc queries) |