Hi,

i like to read data out of an array and want to put the information in only one cell in excel. Is that possible ?

Example (but overwrites the contents of the cell):

$oXL = CreateObject("EXCEL.application")
$oXL.Visible = 1
$rc = $oXL.Workbooks.Add
$array = "Line1" , "Line2", "Line3"
$i = 0
For Each $item in $array
$oXL.Cells(1, 1).Value = $array[$i]
$i = $i + 1
Next

The result is Text "Line3" in the Cell.
But i want this result in the cell:
"Line1"
"Line2"
"Line3"

Thanx
spocky184