setting position of a pivotitem

M

mark

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.
 

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