Hello,
I need to copy and paste a set of values from one file to another file based on tab name.
For instance, if I have a tab named "Sales," I would need to copy data in B1:B10 into the file in X:\USA\Regional\Sales.xls in D20:29.
Is there a way to reference the tab name to open a file and copy and paste the values into that file (I need to do this for about 20 or so tabs)?
Note: The tabs and files' names match one for one so I just need to add a directory reference somewhere in the macro.
Thanks!
I need to copy and paste a set of values from one file to another file based on tab name.
For instance, if I have a tab named "Sales," I would need to copy data in B1:B10 into the file in X:\USA\Regional\Sales.xls in D20:29.
Is there a way to reference the tab name to open a file and copy and paste the values into that file (I need to do this for about 20 or so tabs)?
Note: The tabs and files' names match one for one so I just need to add a directory reference somewhere in the macro.
Thanks!