My code hits this line and gives me the error
Object doesn't support this property or method
pivotWS.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
"QuantityR1C1:R1728C9", Version:=6).CreatePivotTable _
TableDestination:="Test!R3C1", TableName:="PivotTable2", DefaultVersion...