Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In one workbook, I have three parent pivot tables and ten child pivot tables.
I want a macro to refresh these child tables from different parent tables. I wrote a macro and it always has the runtime error in the following code (second row of the code). Any advise/idea? Dim vWSMain as Parent PivotTable worksheet Dim vWSChild as Child PivotTable worksheet Dim vTableChild as Child PivotTable Dim vTableParent1 as Parent PivotTable #1 Set vTableChild = ActiveCell.PivotTable Worksheets(vWSMain).PivotTableWizard SourceType:=xlPivotTable, _ SourceData:=vTableParent1 Worksheets(vWSChild).PivotTables(vTableChild).Pivo tCache.BackgroundQuery = True Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create refresh button in worksheet to refresh Pivot Table Data | Excel Worksheet Functions | |||
refresh a new worsheet on pivot table refresh | Excel Worksheet Functions | |||
Code To Refresh Query Table | Excel Discussion (Misc queries) | |||
Sheet protection code conflicts with Pivot Table "auto refresh" | Excel Discussion (Misc queries) | |||
Pivot table refresh | Excel Worksheet Functions |