Set Pivot Items from Cell Range? Excel 2007

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-06-02T18:08:03Z Indexed on 2010/06/02 18:14 UTC
Read the original article Hit count: 271

Filed under:
|
|

I have developed code which identifies the multiple item selections from a Pivot field and writes the list of items to a table. I then wish to take this contents of the list and use it to populate a number of other Pivot Tables on other tabs. I currently have the ability to do this for single Pivot items selections, but I need to do this for multiple selections. If I select multiple items in the Pivot Table and attempt to pass these selections to the other Pivot Tables it creates an error because it sees only hte text "Multiple Items" instead of a list of each item that was checked in the upstream Pivot field. I need some VBA code that allows me to use the list to set another Pivot Field's selections. All the Pivot fields in question here are page fields. I am using Excel 2007. Any help is appreciated.

Thanks!

© Stack Overflow or respective owner

Related posts about excel

Related posts about table