Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
In VBA, I try to count the items left after filtering a PivotTable, but I can't get it working ! Here is what I do : a) to filter : ActiveSheet.PivotTables("myPT").PivotFields("GENDE R").CurrentPage = "MALE" b) to count : MFDATE_Cnt = ActiveSheet.PivotTables("myPT").PivotFields("GENDE R").PivotItems.Count The counting should differ after selecting "MALE" or "FEMALE", but still gives me the same value, which is actually the total of both genders. Can someone help me on this ? Thx in advance, Nicodemus |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - how to do PivotTable on filtered, visible data only? | Excel Discussion (Misc queries) | |||
items filtered | Excel Discussion (Misc queries) | |||
PivotTable: Difference from Row Items | Excel Discussion (Misc queries) | |||
counting filtered items | Excel Worksheet Functions | |||
pivotTable and filtered list | Excel Programming |