Hi there,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
> </o
>
I was wondering whether anybody knew whether it is possible to use an array to choose which pivot items to select.
<o
> </o
>
I have a pivot table which contains thousands of pivot items (‘sell codes’), but I would like to select only a few hundred. As I am going to have to do this daily (and the ones I am looking for might change each day) I’d like to be able to fill an array with the relevant ‘sell codes’ and get the pivot table to only display these.
<o
> </o
>
Is this possible using an array to populate the pivot items?
<o
> </o
>
If not – can you think of a better way of only displaying certain pivot field items without having to either select them from the drop down box on the pivot table or manually write the .pivotitems(“example1”).visible=true vba line for each one I want to see?
<o
> </o
>
Thanks very much for any thoughts,
<o
> </o
>
James
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com




I was wondering whether anybody knew whether it is possible to use an array to choose which pivot items to select.
<o


I have a pivot table which contains thousands of pivot items (‘sell codes’), but I would like to select only a few hundred. As I am going to have to do this daily (and the ones I am looking for might change each day) I’d like to be able to fill an array with the relevant ‘sell codes’ and get the pivot table to only display these.
<o


Is this possible using an array to populate the pivot items?
<o


If not – can you think of a better way of only displaying certain pivot field items without having to either select them from the drop down box on the pivot table or manually write the .pivotitems(“example1”).visible=true vba line for each one I want to see?
<o


Thanks very much for any thoughts,
<o


James