• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Copying data from Pivot table to another worksheet

Sheri

New Member
This is my first attempt in creating a macro and I really need help. I have a list of "Processor" in the Pivot row label field and what I need is for the macro to run new worksheets and name it using the name of processors in the list. Also it should copy the pivot data (including pivot format eg. flags) of each processor to its corresponding worksheet. In the sample provided I should have 4 new worksheets (A,B,C,D) with their data in it. The copied data will have to be just plain excel (not pivot).

Appreciate any help.
 

Attachments

  • Report - Sample.xlsx
    95.5 KB · Views: 6
Thanks so much Jeffrey. You taught me something new today. :) I didn't know pivot can do such a thing. Excel never stops to amaze me. It did solve part of my problem. I need to also copy the pivot format though. My original pivot table has flags as part of conditional formatting. Is there a way to copy this as well to the new worksheets?
 
I opted to use the 'Show Report Filter Pages' instead of using VBA codes. I grouped the new worksheets and pasted the format from the original sheet. It works well. Thanks for your help Jeffrey.
 
Back
Top