ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   setting position of a pivotitem (https://www.excelbanter.com/excel-programming/427373-setting-position-pivotitem.html)

Mark

setting position of a pivotitem
 
hello.

I have a pivot table, and need to reset the position of a specific item, in
code.

I was trying to do that before putting the field into the pivot table grid,
so that it doesn't need to recalc afterward.

pvT.PivotFields(arColFields(1)).PivotItems("(blank )").Position = 1

works, after the pivot grid is filled with fields, but not before.

I was able to select/deselect all of the proper items before populating the
pivot grid.

But you can't set positions before filling the grid?

thanks.


All times are GMT +1. The time now is 10:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com