For some reason the following code creates a blank page everytime. Is there a way to have it not do this that I am not seeing?
Thanks in advance...![]()
Sheets("currentweek").Select Range("A1").Select ActiveCell.CurrentRegion.Select ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _ Selection).CreatePivotTable TableDestination:="", TableName:= _ "PivotTable6", DefaultVersion:=xlPivotTableVersion10 ActiveSheet.PivotTableWizard TableDestination:=Sheets("PIVOT").Range("A1")
Bookmarks