In Excel 2007 when I manually create a pivot table (and record my actions) the pivot table references all of the information in my data range (70k+ lines). When I run the recorded macro the new pivot table limits the data range to the first 65536 lines (the old limit).
Code
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"Source!R1C1:R1048576C26", Version:=xlPivotTableVersion12).CreatePivotTable TableDestination:= _
"Tables!R9C1", TableName:="PivotTable2", DefaultVersion _
:=xlPivotTableVersion12
Any suggestions on how I can force the pivot table from the macro to reference the full data set?