Macro to C&P from a saved file in a seperate folder

CRMTHB

New Member
Joined
Mar 12, 2019
Messages
13
Hi,

Each month we run a report with multiple tabs and we save this down. I then need to copy and paste specific tabs from that report, into a calculation sheet. On this calc sheet, there are separate sheet which hold formulas which run off the report tabs. The report tabs are in a set order but not the same order as the original report tab

I want a quick way to update the report tabs on the calc sheet, every time we rerun the report - which we run a dozen times before it's finalised

I was thinking of a macro which ran from my calc sheet. It would either:
- look at the name of the tab it was currently on (say, "Bananas"), then go to folder X, open up file Y and copy the "Bananas" tab from there, and paste it over the "Bananas" tab of the calc sheet
or
- it would do the above for a specified list of tabs (say, "Bananas", "Oranges", "Apples" etc)


I hope that makes sense, if doesn't let me know. Or, if there is a simpler solution to this, I'd be happy to hear it

Thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top