Hello experts,
Currently i have this VBA code
For Each PvB In pt.PivotFields("Date").PivotItems
next PvB
This "date" field is in the Page field (not column , not row) in the pivot.
How do i change this code so that i loop from bottom to top instead of top to bottom(which is default one)? The date is sorted by ascending order by default but when i loop I want to start the new date first.
Currently i have this VBA code
For Each PvB In pt.PivotFields("Date").PivotItems
next PvB
This "date" field is in the Page field (not column , not row) in the pivot.
How do i change this code so that i loop from bottom to top instead of top to bottom(which is default one)? The date is sorted by ascending order by default but when i loop I want to start the new date first.