Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Programming the filter of a pivot table
I just can't get through this ... I've spent hours on it & I'm sure it's very
simple !! I download a (.txt) file with tons dates of events in it. Once this is done, i run a macro that does numerous things, including filter the list & then refresh the pivot table. Info that have been filtered in the list still appear in the pivot table. How can I get rid of them ? (I join the part of the code where I filter & refresh) 'filter the list to get the next 4 months Selection.AutoFilter Field:=9, Criteria1:="=today()", Operator:=xlAnd _ , Criteria2:="<=TODAY()+122" 'refresh the pivottable Sheets("Dynamique").Select ActiveSheet.PivotTables("Tableau croisé dynamique2").PivotCache.Refresh Please help me !! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table Programming (Selecting Pivot Items) | Excel Programming | |||
Pivot table programming | Excel Programming | |||
Pivot Table Programming | Excel Programming | |||
Pivot Table Programming | Excel Programming | |||
Pivot table Programming | Excel Programming |