Hi, i have this macro, but i would like it to paste after the last row, what should I change?
' Fecha
Rw = Range("AA" & Rows.Count).End(xlUp).Row
With Sheets("Draft")
For Each Cl In .Range("J7", .Range("J" & Rows.Count).End(xlUp))
If Cl.Value = "Active" Then
Sheets("U-Detail").Range("AA" & Rw + 1).Value = Range("'Draft'!C3").Value
Rw = Rw + 1
End If
Next Cl
End With
' Fecha
Rw = Range("AA" & Rows.Count).End(xlUp).Row
With Sheets("Draft")
For Each Cl In .Range("J7", .Range("J" & Rows.Count).End(xlUp))
If Cl.Value = "Active" Then
Sheets("U-Detail").Range("AA" & Rw + 1).Value = Range("'Draft'!C3").Value
Rw = Rw + 1
End If
Next Cl
End With