Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I record a macro in excel 2007 in which i create a pivot table. when i try to
run the macro i get "invalid procedure call or argument". the same process works fine in excel 2003. If i look at the debug window the "problem code" is : -ActiveWorkbook.PivotCaches.Create(SourceType:=xlDa tabase, SourceData:= _ "JDE Import!R1C1:R3500C37", Version:=xlPivotTableVersion12).CreatePivotTable _ TableDestination:="Calculations & summary!R4C3", TableName:="PivotTable7", _ DefaultVersion:=xlPivotTableVersion12 I guess this gives two questions: how can a recorded macro then not work again? (i have cleared, removed and recreated the destination sheet and all sorts) and two, what is wrong with the macro itself? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to create pivot table from existing pivot table in excel 2007 | Excel Discussion (Misc queries) | |||
2007 Excel Table and Pivot Table Formatting | Excel Discussion (Misc queries) | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Excel 2007 pivot table source table | Excel Discussion (Misc queries) | |||
Excel 2007 Macro specific table to generic table? | Excel Discussion (Misc queries) |