I have an issue with the following code. I want each cell with the value "long" in the column "U" to be copied in a new sheet. But the code I developed only retrieves the first result. It does stop after "U6". Can you please help me?
Sub reportcrea ()
Worksheets("TLM").Select
ActiveSheet.Range("U3").Select
Do
If ActiveCell.Value = "long" Then
ActiveCell.EntireRow.Select
Selection.Copy
Sheets("report").Select
Range("A" & Rows.Count).End(xlUp).Offset(1).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Else
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell.Offset(1, 0))
End sub ()
Autofilterfunction to grab all the "long"-matching rows at once and copy them all to the "report"Worksheet?