You can write to excel Row-wise in just defining the range and fill that with (for example the second dimension) of an array of strings :

basic sample (header):


$header = "Server","Ip-Address","Distribution Status"

$xl = createobject("excel.application")
if not @error
$ = $xl.Workbooks.Add
$xl.Range("A1:C1").Value = $header

; etc ...


I write my logfiles of my admin scripts as such since a while now [Wink]
_________________________