Hello All,
I have several pivot tables in my workbook with a category "Period" (Date in mm-yyyy format). I only need to see the information for the last 12 months, so every month, when I import new data, I have to go through each pivot table to erase the earliest "Period" and add the most recent one.
I was hoping to write a macro to help me do this task. Is there a way to filter a pivot table category in a macro for the last 12 (or x) months from the previous month(or even today)?
Thanks!
I have several pivot tables in my workbook with a category "Period" (Date in mm-yyyy format). I only need to see the information for the last 12 months, so every month, when I import new data, I have to go through each pivot table to erase the earliest "Period" and add the most recent one.
I was hoping to write a macro to help me do this task. Is there a way to filter a pivot table category in a macro for the last 12 (or x) months from the previous month(or even today)?
Thanks!