I'm using worksheet_PivotTableUpdate(ByVal Target As PivotTable) to run some code, but I'm getting a 50920 error. This happens regardless of the what the code it. I think it's due to the pivottable not refreshing before running the code.
Anyone know what might be causing this, and the solution?