Hi guys,
I'm getting the run-time error "1004" when i run the macro.
It is saying that the PivotTable field name is not validl; when I go to debug it, the following is highlighted in the VBA.
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"Sheet1!R3C2:R96C8", Version:=xlPivotTableVersion12).CreatePivotTable _
TableDestination:="Sheet4!R3C1", TableName:="PivotTable1", DefaultVersion _
:=xlPivotTableVersion12
Any ideas?
Thanks
Bookmarks