VBA Code to create pivot in other excel file using other file's data
I have a file named A in which I have VBA coding to create pivot in file B using data or source data for pivot in file B itself. I am able to create pivot in same file but not in other bfile as said above. Please help
VBA
Last Comment
Sandesh S
8/22/2022 - Mon
Bill Prew
Need to see your VBA code, and a sample of the two files would help.
»bp
Sandesh S
ASKER
Hi Bill,
Apologies for delay and Thanks for your response.
Attached are the files wherein i have to create pivot in file OT. SPP is the file wherein i have the code and OT is the file wherein i have to create pivot using VBA coding. VBA code is working fine in file SPP if i try to create pivot in SPP file itself, but i want it to i.e coding in SPP to create pivot in file OT by using data in file OT itself, the same way as now it is doing in SPP.
I am thankful to you that you helped me at the right time. I really appreciate for all you have done to help me. I just want to say fabulous for your effort. I think you don't mind if come up with any other challenging situations like this.
»bp