comicwizard
New Member
- Joined
- Jun 15, 2011
- Messages
- 2
I have 20 separate workbooks and each have a pivot table. I would like to write code to open each workbook, update the pivot, save the workbook and close the workbook instead of me having to do that manually to each one.
I can place them all in the same folder to make things easier.
Ideally what I would like to do is have a master workbook with a list of the reports, I check the opens that need to be updated and fire off the code. Then the code does as described above and then updates a field on this master workbook once each one is completed.
I saw this done with a coworker but he will not share his code. So I am thinking he got this from someone else and doesn't understand the code enough and won't admit that.
So any help will help, I am really having a hard time building this myself.
I can place them all in the same folder to make things easier.
Ideally what I would like to do is have a master workbook with a list of the reports, I check the opens that need to be updated and fire off the code. Then the code does as described above and then updates a field on this master workbook once each one is completed.
I saw this done with a coworker but he will not share his code. So I am thinking he got this from someone else and doesn't understand the code enough and won't admit that.
So any help will help, I am really having a hard time building this myself.