Hello together,
I read from Excel via COM my data into an array and display it in a ListView. Thats works fine.
But in the excelfile there a some empty lines. I don't know how to get them out.
Has anyone an idea who to filter them so that I can delete them from the array?
$CellRange = "A1:P50"
$oExcelDoc = ObjGet($dateiname)
$oDocument = $oExcelDoc.Worksheets(1)
$array_lrl = $odocument.range($CellRange).value
$string = ""
For $y = 0 to Ubound($array_lrl,2)-1
$trennzeichen=""
GUICtrlCreateListViewItem ("",$liste)
For $x = 0 to Ubound ($array_lrl,1)-1
$string = $array_lrl[$x][$y]
GUICtrlSetData (-1, $trennzeichen & $string)
$trennzeichen = $trennzeichen & "|"
Next
Next