We can use macro’s to attend that out
For reference Creating Pivot Table in the background - #3 by samir
and