Build One Large CSV from exisiting CSV

Randombard

Active Member
Joined
Jun 30, 2008
Messages
392
Hi All,

I would like to build one very large CSV (couple of million rows) from a set of existing csv's.

Ideally I would like to point the code at a directory and then have it go through file by file and add the rows to the bottom of a new master file.

Each file contains the same headers, just cant get my head around this one.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Do you actually have the headers in each file, or is just the file structure the same? If you don't have the headers and each file ends with either a Line feed then you could use a DOS command to stitch them together.
 
Upvote 0
used a .bat file build method.

Thanks for kicking me and getting me to remember there are other options :)
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,558
Members
452,928
Latest member
101blockchains

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