This is better code
![]()
Sub test() Dim i&, LR& With ActiveSheet LR = .Cells.Find("*", , , , xlByRows, xlPrevious).Row For i = 2 To LR If Len(.Cells(i, 10)) Then If Trim(.Cells(i, 10)) = "Startup" Then .Cells(i, 1).Resize(, 11).Copy Sheets("Startup").Range("A" & Rows.Count).End(xlUp).Offset(1).PasteSpecial xlValues End If End If Next i End With End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks