Setting Pivot Table Page Field Names using VBA

R

Ron McCormick

I'm trying to set Pivot table field names with the
following code.

For Each Region In Regions
 
T

Tom Ogilvy

And what happens?

Does the variable region hold a legitimate item value from the PivotField
"Region"?

I have found looping throught the items to find a match and setting the
current page to the matched item works when this construct doesn't.
 

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