My Excel macro no longer runs after I upgraded to Office 365. I am getting an Run-time error '1004': Unable to get the PivotFields property of the PivotTable class error. The macro worked fine last week before I upgraded from Office 2016. Any suggestions on what is causing the problem would be helpful. Thanks in advance.