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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

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