I
ivan34
Guest
Bonjour,
Je souhaiterai mettre ce code avec la fonction array, est ce possible? et si oui comment?
For Each Cel In Sheets("GestStck").Range("B4", [B65000].End(xlUp))
Sheets("Recapmat").Select
For Each Cel1 In Sheets("Recapmat").Range("E6", [E65000].End(xlUp))
Sheets("GestStck").Select
If Cel = Cel1 Then
If Cel.Offset(0, 1) = "" Then
Cel.Offset(0, 1).Select
Cel.Offset(0, 1) = 1
Else
Cel.Offset(0, 1) = Cel.Offset(0, 1) + 1
End If
End If
Next
Next
Par avance merci de vos réponses de vos aides précieuses
Je souhaiterai mettre ce code avec la fonction array, est ce possible? et si oui comment?
For Each Cel In Sheets("GestStck").Range("B4", [B65000].End(xlUp))
Sheets("Recapmat").Select
For Each Cel1 In Sheets("Recapmat").Range("E6", [E65000].End(xlUp))
Sheets("GestStck").Select
If Cel = Cel1 Then
If Cel.Offset(0, 1) = "" Then
Cel.Offset(0, 1).Select
Cel.Offset(0, 1) = 1
Else
Cel.Offset(0, 1) = Cel.Offset(0, 1) + 1
End If
End If
Next
Next
Par avance merci de vos réponses de vos aides précieuses