bonjour à tous
Je voudrais supprimer toutes les lignes d'un tableau dont les cellules contiennent certaines infos ( exemple : montant ) ou bien lorque certaines cellules sont vides .
Quel est le code à taper ?
j'ai trouvé ça sur le net :
Sub SupprLigne()
ActiveCell.CurrentRegion.Select
For Each Cell In Selection
If InStr(1, Cell, "? ") > 0 Then
Cell.EntireRow.Delete
End If
Next Cell
End Sub
mais ça marche pas 😡
Merci beaucoup
Oliv
Je voudrais supprimer toutes les lignes d'un tableau dont les cellules contiennent certaines infos ( exemple : montant ) ou bien lorque certaines cellules sont vides .
Quel est le code à taper ?
j'ai trouvé ça sur le net :
Sub SupprLigne()
ActiveCell.CurrentRegion.Select
For Each Cell In Selection
If InStr(1, Cell, "? ") > 0 Then
Cell.EntireRow.Delete
End If
Next Cell
End Sub
mais ça marche pas 😡
Merci beaucoup
Oliv