Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm getting an error when I try to refresh a pivot table that was created using VBA code in Excel 2000. This the error: "Refresh method of pivot table class failed". Here is the piece of code: Set ptCache.Recordset = rst With wsSheet Set ptTable = .PivotTables("Test") End With 'Refresh Data. ptTable.RefreshTable Initially when I get the recordset and create the pivot table, every is populated correctly. But when I need to run the refreshing code to get new data into the pivot table, the refreshtable fail. Any suggestion? I will appreciate that. Thanks, Carlos. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Table Refresh not working properly | Excel Discussion (Misc queries) | |||
Code that will rerun or refresh a pivot table (after new data ispasted into the original Pivot Table's Source Range) | Excel Programming | |||
refresh option of pivot table not working | Excel Worksheet Functions | |||
pivot table refresh code failed | Excel Programming | |||
Code to Refresh Pivot Table | Excel Programming |