Sub SendToSheets()
Dim Rws As Long, Rng As Range, Wks As Worksheet, Sht As Worksheet, fRng As Range
Set Wks = Worksheets("mastersheet")
With Wks
Rws = .Cells(Rows.Count, "D").End(xlUp).Row
Set Rng = Range(.Cells(1, "A"), .Cells(Rws, "I"))
End With
For Each Sht In Sheets
If Sht.Name <> Wks.Name Then
Rng.AutoFilter Field:=4, Criteria1:=Sht.Name
Set fRng = Range(Cells(2, "A"), Cells(Rws, "I"))
fRng.Copy Destination:=Sht.Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
End If
Next Sht
Rng.AutoFilter
End Sub
You may require filtering by dates as well if you want to copy the most recent data
Bookmarks