I am building a procedure to save filter values and to do so I would test the pivot field's pivotitems to see if they were visible.
When I run
pi.visible is always false, even when the pivot item is visible. I found this out in debug mode. This then gives me the incorrect outcome.
I tried adding
I saw that snipped in a couple of forums asking the same question and I still had the same problem.
I'm running Excel 2010.
Any help is highly appreciated!
When I run
Code:
if pi.visible = true then
yadda yadda
Else
End if
I tried adding
Code:
With pf
.autosort xlmanual, .sourcename
end with
I'm running Excel 2010.
Any help is highly appreciated!