I do some pretty strange things formatting Excel pivot tables for clients but I've run into a stumper.
I am trying to loop through all of the values for the page fields of a pivot table and then copy values and formats onto a seperate worksheet for each set of page values.
It works fine except for 1 minor problem. I can't seem to find a way from VBA to reset the page field to the "(All)" value. I can get to all the rest of the values including "(Blank)".
I know I could rewrite the order of the processing to do "(All)" first before the pivot table pages are changed. I just don't like when there should be a way to do something and I can't find it.
Any help would be appriciated.
Peter Richardson
I am trying to loop through all of the values for the page fields of a pivot table and then copy values and formats onto a seperate worksheet for each set of page values.
It works fine except for 1 minor problem. I can't seem to find a way from VBA to reset the page field to the "(All)" value. I can get to all the rest of the values including "(Blank)".
I know I could rewrite the order of the processing to do "(All)" first before the pivot table pages are changed. I just don't like when there should be a way to do something and I can't find it.
Any help would be appriciated.
Peter Richardson