je voudrais appliquer ceci
Application.Run("breakedown data.xls!Supp_lignes")
dans ceci
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| Sub Supp_lignes()
Set mf1 = Sheets("Feuil1")
pl = 1
dl = mf1.Range("D65536").End(xlUp).Row
txt = "STARTING"
For i = 1 To dl
If i > dl Then
End
End If
With mf1
If Left(Cells(i, 4), 8) = txt Then
.Rows(i).Delete Shift:=xlUp
dl = dl - 1
i = i + 1
End If
If Left(Cells(i, 4), 8) <> txt Then
.Rows(i).Delete Shift:=xlUp
dl = dl - 1
i = i - 1
Else
i = i - 1
End If
End With
Next i
End Sub |
comment et surtout où dois je placer cette formule dans ma macor j'ai toutes essayé mais je n'arrive pas à le faire fonctionner!!!
Partager