Hello,
I keep getting the run-time error '5' each time that I attempt to run my pivot table macro. Here is the line of code that keeps producing the error:
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"Temporary!A1:BJ1" & LRow, Version:=xlPivotTableVersion15). _
CreatePivotTable TableDestination:="Results!R3C1", TableName:="PivotTableBmStats", DefaultVersion:=xlPivotTableVersion15
Any assistance that could be provided would be greatly appreciated!
Thanks,
Justin
I keep getting the run-time error '5' each time that I attempt to run my pivot table macro. Here is the line of code that keeps producing the error:
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"Temporary!A1:BJ1" & LRow, Version:=xlPivotTableVersion15). _
CreatePivotTable TableDestination:="Results!R3C1", TableName:="PivotTableBmStats", DefaultVersion:=xlPivotTableVersion15
Any assistance that could be provided would be greatly appreciated!
Thanks,
Justin