Listing OWC9 PivotTable Row/Column Axis Filter Members

A

Alan Stanton

Does anyone know a way to figure out which members are currently
selected (filtered) on a row or column axis using a OWC9 PivotTable?
We are trying to iterate through a set of members, identifying which
ones are currently filtered (checked). I need something like

For i = 0 to j
With PivotTable1.ActiveView.RowAxis.FieldSets("blah").Fields("blah")
Debug.Print .FilterMembers(i)
End With
Next

In a related problem, the code

PivotTable1.ActiveView.RowAxis.FieldSets("blah").Fields("blah").FilterMembers
= Array([3],[4])

will properly filter to display only items [3] and [4], but you drop
down the list, nothing is checked, including [3] and[4]. Is this just
a OWC9 "feature"? Why aren't members properly checked when the filter
is applied using code?

Thanks in advance.
 
Y

yvonne de Vries

I have exact the same question. How can you retrieve the
actual value of a member?
I hope anybody can give an answer.
Thank you
Yvonne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top