bonjour
j'aimerai faire une action à répétition tant que le cellule qui suit contient une valeur
code
Sub rtrt()
If (Worksheets("Saisie").Range("C" & ActiveCell.Row).Value <> " " And Worksheets("Saisie").Range("E" & ActiveCell.Row).Value <> "-") Then
Worksheets("Saisie").Range("B" & ActiveCell.Row) = Application.WorksheetFunction.VLookup(Worksheets("Saisie").Range("E" & ActiveCell.Row).Value, Worksheets("BD_REG_NAT").Range("A:V"), 22, False)
End If
If (Worksheets("Saisie").Range("E" & ActiveCell.Row).Value <> " " And Worksheets("Saisie").Range("E" & ActiveCell.Row).Value <> "-") Then
Call Réf_noms_statuts(Cells(ActiveCell.Row, 5).Value)
End If
End Sub