Creating a Pivot Table with a named range
Got the rest of it - I had to clear the existing pivot table as the
new one was overwriting it. Had to run the following code before
creating the pivot table:
With Sheet23
For Each p In .PivotTables
p.TableRange2.Clear
Next
End With
|