Hello,
We have a macro for use that involves creating pivot tables. The macro works just fine when I run it from my computer, but when a co-worker runs it exactly the same way (and I am there to make sure we are running it the same way), the macro errors out during the point where it starts to run pivot tables. Below is the code highlighted in yellow as the "error" on her end:
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"Breakdown!R1C1:R1048576C4", Version:=6).CreatePivotTable TableDestination _
:="Breakdown!R8C6", TableName:="PivotTable15", DefaultVersion:=6
I cannot identify why this portion works for my computer, but not on hers (others also do not have the issue she is having).
Thank you in advance for your help!
Bookmarks