E
europe2508
Guest
Bonjour. Je voudra supprimer les lignes qui si elle ne contiennent pas de valeurs dans la colonne A et B ( si colonne vide) ou valeurs que dans la A ou que dans la B
Pour l'instant j'ai trouvé ceci mais dans ce cas la il y a juste une conditions(ici colonne B). Comment je peut faire pour ajouter un Et dans le with
merci
Dim i As Long
Application.ScreenUpdating = False
For i = 500 To 3 Step -1
With Cells(i, 2)
If IsEmpty(.Value) Then .EntireRow.Delete
End With
Next
End Sub
Pour l'instant j'ai trouvé ceci mais dans ce cas la il y a juste une conditions(ici colonne B). Comment je peut faire pour ajouter un Et dans le with
merci
Dim i As Long
Application.ScreenUpdating = False
For i = 500 To 3 Step -1
With Cells(i, 2)
If IsEmpty(.Value) Then .EntireRow.Delete
End With
Next
End Sub