open,copy,paste,save and rename several workbook into 1 file

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
I receive several excel files under different names but same date (XXX mm/dd/yy). Each of them has the same description on the rows of the first column. It's only from the second column onwards that it contains different data.

I would love to have a macro to automatically trigger actions when files are received. It checks whether the files are of the same date, opens the first file, save as same date, opens the second file that has the same date,copy the second columns onwards and paste into the first file sequentially. The macro will also check whether all the files are opened and copied into the new file.

How should I write the marco? Thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,203,760
Messages
6,057,202
Members
444,913
Latest member
ILGSE

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