Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi all,
I'm trying to create a macro to update pivot tables with a macro. but when I create it and then try to run it, I receive the message: It' impossible to find the propriety Pivot tables for the class Worksheet. the Macro is: "Sheets("Inserimento Dati").select Range("H24").Select ActiveSheet.PivotTables("tabella_pivot1").RefreshT able" The system is Excel 2003 in XP. I did a similar macro in WIN 98 and it worked, but it used a PivotTables wizard that does not work any more in XP. Thanks a lot in advance, hope I've been clear enough. |
#2
![]() |
|||
|
|||
![]()
Where do you have your code?
maybe: Sheets("Inserimento Dati").PivotTables("tabella_pivot1").RefreshTable or if you think the name of the PT changed: Dim PT As PivotTable For Each PT In Worksheets("Inserimento Dati") PT.RefreshTable Next PT dolph wrote: Hi all, I'm trying to create a macro to update pivot tables with a macro. but when I create it and then try to run it, I receive the message: It' impossible to find the propriety Pivot tables for the class Worksheet. the Macro is: "Sheets("Inserimento Dati").select Range("H24").Select ActiveSheet.PivotTables("tabella_pivot1").RefreshT able" The system is Excel 2003 in XP. I did a similar macro in WIN 98 and it worked, but it used a PivotTables wizard that does not work any more in XP. Thanks a lot in advance, hope I've been clear enough. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Tables | Excel Discussion (Misc queries) | |||
Pivot Table Refresh Problems | Excel Discussion (Misc queries) | |||
Pivot Tables - Variance and % Variance fields | Excel Discussion (Misc queries) | |||
How do I fix column widths in Excel Pivot Tables? | Excel Discussion (Misc queries) | |||
There should be a Refresh All feature, enabling all pivot tables . | Excel Worksheet Functions |