Setting Pivot Table Page Field Names using VBA

  • Thread starter Thread starter Ron McCormick
  • Start date Start date
R

Ron McCormick

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

For Each Region In Regions
 
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.
 
Back
Top