I have this vba code that create a list from another list. What I would like is to add this formula on every row of my new list on column E :
I want to add the formula to this vba code:
Sub m()
Dim c As Range
ActiveWorkbook.RefreshAll
Range("A:E").Delete
For Each c In Sheets("Feuil1").Range("b2:b300")
If c.DisplayFormat.Interior.Color = vbYellow Then
Sheets("Feuil3").Range("A" & Rows.Count).End(xlUp).Offset(1).EntireRow.Value = c.EntireRow.Value
End If
Next c
End Sub
I just dont know how to link them.. thank you