Retrieve All Pivot Table Filters
I can't know what fields will be filtered on so, so I need to extract all filters at run time. I need some VBA line(s) to do it please.
I tried activeCell.PivotCell.PivotTable.ActiveFilters and this returns 0 although there are definitely filters available.
The workaround which I'm not is very good I'm considering is:
activecell.PivotTable.PageFields.Items collection which also behaves weird:
activecell.PivotTable.PageFields.Count returns 2 at the same time it has 3 elements:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1