.CurrentPage = "(ALL)"

S

Steve8733

I have a PivotTable with a "Report Filter" named State. Whether I have ALL
selected or not the following equation is always true.

.PivotFields("State").CurrentPage = "(All)"

When I select one or multiple states selected .CurrentPage always equals
"(ALL)". I'm trying to use this in an IF statement to determine when ALL is
not selected.

I imagine I'm overlooking something. Any help would be greatly appreciated.
 
S

Steve8733

Correction. . . . .

If I select an individual item .CurrentPage equals the individual item
selected. The problem is when multiple items are selected, .CurrentPage still
returns "(ALL)" as a value even thought ALL is not selected.
 

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