1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| --------------------
Range("A4").AutoFilter Field:=1, Criteria1:="=somme*", Operator:=xlAnd
Range("A4").CurrentRegion.Offset(2, 0).Resize(Range("A4").CurrentRegion.Rows.Count - 2, Range("A4").CurrentRegion.Columns.Count).EntireRow.Delete
Selection.AutoFilter Field:=1
Selection.AutoFilter Field:=2, Criteria1:="=somme*", Operator:=xlAnd
Range("A4").CurrentRegion.Offset(2, 0).Resize(Range("A4").CurrentRegion.Rows.Count - 2, Range("A4").CurrentRegion.Columns.Count).Select
Selection.Font.FontStyle = "Italique"
Selection.Borders(xlEdgeTop).LineStyle = xlContinuous
Selection.Borders(xlEdgeBottom).LineStyle = xlContinuous
Selection.Interior.ColorIndex = 15
Selection.AutoFilter Field:=2
Selection.AutoFilter Field:=3, Criteria1:="=somme*", Operator:=xlAnd
Range("A4").CurrentRegion.Offset(2, 0).Resize(Range("A4").CurrentRegion.Rows.Count - 2, Range("A4").CurrentRegion.Columns.Count).EntireRow.Delete
Selection.AutoFilter |
Partager