Bonsoir,
Je cherche depuis plusieurs heures et je ne trouve pas pourquoi ce code ne marche pas. Si vous pouvez m'aider...ben ça m'aiderait beaucoup...
POS = 2
Cpt = 0
With PLAGE.Columns(1)
Set c = .Find(what:=REF, LookIn:=xlValues)
If Not c Is Nothing Then
Ad = c.Address
Do
Cpt = Cpt + 1
X = c.row ' ICI lors du Loop ça bug ??
Set c = .FindNext(c)
Loop While c.Address <> Ad Or Cpt < POS
End If
End With
Vous m'enlèverez une grosse épine de la main...
Merci...
Je cherche depuis plusieurs heures et je ne trouve pas pourquoi ce code ne marche pas. Si vous pouvez m'aider...ben ça m'aiderait beaucoup...
POS = 2
Cpt = 0
With PLAGE.Columns(1)
Set c = .Find(what:=REF, LookIn:=xlValues)
If Not c Is Nothing Then
Ad = c.Address
Do
Cpt = Cpt + 1
X = c.row ' ICI lors du Loop ça bug ??
Set c = .FindNext(c)
Loop While c.Address <> Ad Or Cpt < POS
End If
End With
Vous m'enlèverez une grosse épine de la main...
Merci...