Hi all, I can't seem to figure out why this code is not working to create a pivot table. I'm using Excel 2013 and will be updating to 2019 soon.
When I get to the last line of code, I get Runtime Error 5: Invalid Procedure Call or Argument
Sub Auto_Pivot()
Dim PBook As Workbook
Dim PSheet As...