EPPlus on CodePlex[
^] allows you to create excel files using c#, and you don't need to have excel installed.
read in all the lines
process one line at a time
use the string Split method to break each line up into an array of elements for the column data
add data to the spreadsheet using EPPlus
Regards
Espen Harlinn