Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
untested but it is probably the "destination" argument. If you leave it blank it will try to create a new sheet - once but if you do it multiple times it may be trying to overwrite the 2nd pivottable. Instead of leaving it blank, you could us
sheets.add after:=sheets(sheets.count Set PT = PTCache.CreatePivotTable(TableDestination:=sheets( sheets.count).range("A1"), TableName:="AssetLevels" or similar |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating Views within pivot tables | Excel Discussion (Misc queries) | |||
creating a pivot table from 4 pivot tables | Excel Worksheet Functions | |||
Creating Pivot Tables | Excel Discussion (Misc queries) | |||
Creating Pivot Tables using a CSV file | Excel Discussion (Misc queries) | |||
Pivot cache | Excel Discussion (Misc queries) |