Copy multiple files via vba code

hshone

New Member
Joined
Feb 23, 2015
Messages
12
Hi all,

im looking to copy multiple files into one file.

In column a:b I have date and unique file path starting at row 5 respectively.
the excel files I want to open the data starts at a5 and what to copy all data across and down from this point.

I would then like to paste this data into the main workbook with column "a" having the date for the data into say "sheet 2" Then open the next file copying data at the next available row.

So so it will ideally look like the below.

1/1/15 data data data
1/1/15 data data data
1/1/15 data data data
2/1/15 data data data

and so on.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,241
Messages
6,123,824
Members
449,127
Latest member
Cyko

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