Hi,
I was wondering if it's possible via the use of VBA to change rows and columns on a pivot table.
So on the basic example above (and attached), if i change cell d19 to "Region", the pivot table would display the rows as regions rather than country.
Likewise, if I change d21 to "Revenue", it will change the sum column.
Is this possible, or am I dreaming?
I know how to select filters on pivots using VBA, but don't know how to change rows and columns.
Many thanks
Chris
I was wondering if it's possible via the use of VBA to change rows and columns on a pivot table.
So on the basic example above (and attached), if i change cell d19 to "Region", the pivot table would display the rows as regions rather than country.
Likewise, if I change d21 to "Revenue", it will change the sum column.
Is this possible, or am I dreaming?
I know how to select filters on pivots using VBA, but don't know how to change rows and columns.
Many thanks
Chris