I'm needing help on how to modify the code below to instead copy to the first available in another worksheet. So far the code copy from sheet 1 to sheet2 but starting in row 1 by default
Thanks in advance
Sub Copy15()
Dim c As Range
Dim j As Integer
Dim Source As Worksheet
Dim Target As Worksheet
Set Source = ActiveWorkbook.Worksheets("Sheet1")
Set Target = ActiveWorkbook.Worksheets("Sheet2")
J = 1
For Each c In Source.Range("E1:E1000")
If c = "yes" Then
Source.Rows(c.Row).Copy Target.Rows(j)
j = j + 1
End If
Next c
End Sub