Hello everybody,
I have a problem. I used a code find on this forum but I don't know how to explain it. Can someone explain me this code line by line please.
Global $sFilePath = "\\Server\disqueCD\Commun XP CD\2008\CLIENTS\CREANCES CLTS EN COURS.xls"
$sFilePath = FileGetShortName($sFilePath)
Global $oExcel = _ExcelBookOpen($sFilePath)
Global $avData = _ExcelReadArray($oExcel, 1, 1, 5000, 1, 1)
Global $iLastUsed = 0, $iNextRow = 0
For $n = UBound($avData) - 1 To 1 Step -1
If StringStripWS($avData[$n], 8) <> "" Then
$iLastUsed = $n
ExitLoop
EndIf
Next
If $iLastUsed Then
$iNextRow = $iLastUsed + 1
EndIf
I thank you by advance