Ok, here is what I've done so far. For some reason the code hangs with this command:
$aryData = CSV(ReadLine(2))

So I separated it like this:

$temp = ReadLine(2)
$aryData = CSV($temp)

But it still failed out. So I put in a message box after $temp = to see what it was putting into $temp, it then displayed the correct line read and run fine?

$temp = ReadLine(2)
$aryData = CSV($temp)
MessageBox($temp, "", 64)

Anyway, putting in a few other message boxes just to check how far the scrip was executing I got it all the way to saving the file, executed past this point but didn;t make a file. Tried everything I can find and still can't get that to work.
 Code:
SetConsole("hide")


Break On
call @ScriptDir + "\xlLib.udf"
call @ScriptDir + "\csvLib.UDF"


$oXL = xlInit()
$outPutFile = "C:\KIX\test.xls"


$wBO = xlNewBook($oXL)

xlSheetAdd($oXL, 1, 'Sheet1')

xlSheetSelect($oXL, "Sheet1")

If Open(2,'C:\KIX\732AMS.csv') = 0
  $temp = ReadLine(2)
  $aryData = CSV($temp)
  While Not @ERROR
    ; process the array data. Since it's an array, you could prolly just
    ; use xlRangeValue to write the data, Assumes you've already created
    ; the Excel connection object, workbook, and sheet
    $ = xlRangeValue($oXL, $Row + ':' + $Col, $aryData, 'Sheet1')
    $aryData = CSV(ReadLine(2))
 
  Loop
  $ = Close(2)
Else
  MessageBox("ERROR", "", 64)
EndIf

xlFile($oXL, 2, 'C:\KIX\test.xls')