Good morning / afternoon everyone. I have a macro that is not completing the pivots which were recorded. This happens with not only deleting the pivot information but also creating a new table.
I'm not sure if anyone know a good solution for this as I have tried several times to record pivot table creation and it is not working.
I've inserted my issue below but as a warning, there are 3 pivot tables which need to be created and I'm not a VBA pro.
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"CORE Recon Refi!R1C1:R250C8", Version:=xlPivotTableVersion12). _
CreatePivotTable TableDestination:="Daily Summary!R5C4", TableName:= _
"PivotTable1", DefaultVersion:=xlPivotTableVersion12
Thanks!!
TB

I'm not sure if anyone know a good solution for this as I have tried several times to record pivot table creation and it is not working.


ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"CORE Recon Refi!R1C1:R250C8", Version:=xlPivotTableVersion12). _
CreatePivotTable TableDestination:="Daily Summary!R5C4", TableName:= _
"PivotTable1", DefaultVersion:=xlPivotTableVersion12
Thanks!!
TB