maybe ? :
For $i = 0 To $iItemCount - 1
Local $arg = $aHeadCode[$i]
switch $arg
case "1C01DB"
;"FindItem", "string to find" [, SubItem]
;Returns the item index of the string. Returns -1 if the string is not found.
$ControlListViewReturn = ControlListView($handle, "", "[Class:SysListView32; INSTANCE:1]", "FindItem", $arg)
If $ControlListViewReturn = -1 Then
Msgbox(0,"","Not Found")
Else
; If found then select :
ControlListView($handle, "", "[Class:SysListView32; INSTANCE:1]", "Select", $ControlListViewReturn)
; Clic on next page place
; ...
EndIf
EndSwitch
Next