Hi,
Maybe you need to Select or Activate the sheet that has the pivot table on it? I'm looking at your code and it appears that it creates a new workbook, then adds "New Report" to cell A1 on worksheet(1), However once that is completed you are asking the script to copy from the "Activesheet"
Just a thought, Mike![]()
ActiveSheet.PivotTables("PivotTable2").Copy
Bookmarks