Using VBA code, I have created a Pivot table and then added row, columns and then the summation values. Now I need to add a filter on a column. Can you please let me know how can I add filters to this column.
-
Did you try some code? Can you post it? Did you do research on the topic? What did you search for? What did you find?user7857211– user78572112017-05-05 06:44:54 +00:00Commented May 5, 2017 at 6:44
-
No I couldnt find any reference. Foe adding Row, Column and Summation I had used as below. But nothing for FILTER.meru– meru2017-05-05 07:18:54 +00:00Commented May 5, 2017 at 7:18
-
Set pvtFld = PvtTbl.PivotFields("Order\ Amendment Approval Stage") pvtFld.Orientation = xlRowField pvtFld.Position = 5 Set pvtFld = PvtTbl.PivotFields("SOWPODateQtr") pvtFld.Orientation = xlColumnField pvtFld.Position = 1 Set pvtFld = PvtTbl.PivotFields("SERVICE ACV IN $ PLANNED") pvtFld.Orientation = xlDataField pvtFld.Position = 1 pvtFld.Function = xlSum pvtFld.NumberFormat = "#,##0"meru– meru2017-05-05 07:18:59 +00:00Commented May 5, 2017 at 7:18
-
What exactly do you need a reference for? How to apply filter to pivot table with VBA in Excel?user7857211– user78572112017-05-05 07:53:45 +00:00Commented May 5, 2017 at 7:53
-
While creating a Pivot table manullay, we have the options to enter row fields, column fields, sum fields and then Filter fields. How do i replicate the 'Filter fields" options using VBA ?meru– meru2017-05-05 08:22:58 +00:00Commented May 5, 2017 at 8:22
|
Show 1 more comment
