wayneryeven
Technical User
Hey all
trying to write a macro that will remove any date filters from a pivot table and then filter the Date field again between 2 variables- dStart and dEnd
Pivot table is called PivotTable1. Field is called Date.
Cell B2 contains the Date filter.
I am not sure how to do this- i tried recording a macro to see what it generated but it was to no avail. The dates will change daily so i need it to 1. remove any date filter and 2. Filter to only show dates between dStart and dEnd.
Any and all help greatly appreciated to point me in the right direction.
Thanks
trying to write a macro that will remove any date filters from a pivot table and then filter the Date field again between 2 variables- dStart and dEnd
Pivot table is called PivotTable1. Field is called Date.
Cell B2 contains the Date filter.
I am not sure how to do this- i tried recording a macro to see what it generated but it was to no avail. The dates will change daily so i need it to 1. remove any date filter and 2. Filter to only show dates between dStart and dEnd.
Any and all help greatly appreciated to point me in the right direction.
Thanks