Merge CSV's into One Worksheet

Handyman4u59

New Member
Joined
Mar 4, 2002
Messages
1
We have a lab instrument that generates CSV files that we would like to have merged into one Spreadsheet for analysis.

Each CSV is named sequentialy by the Instrument p1.csv, p2.csv.....p25.csv
Each CSV has two colums
Each CSV has from 100 to 50000 rows

Desired results would have the filename of the first csv in Cell A1 and the Data in columns A and B through however many rows starting in row 2.

The filename of the second csv would go in Cell C1 and the Data in columns C and D through however many rows starting in row 2.

Alternatively, each CSV could be a worksheet in a common workbook with the Sheetname set to the source filename.

Is there a simple way to accomplish this task?

It doesn't sound as hard as I have found it when I read it but VBA and Macros aren't really my forte'.

HELP Please,

Brian Main
This message was edited by Handyman4u59 on 2002-03-12 09:33
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,213,492
Messages
6,113,967
Members
448,537
Latest member
Et_Cetera

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