Maybe try this revised version (not tested):
![]()
Dim SiteCol As Range, Cell As Object Set SiteCol = Range("B1:B" & Range("B" & Rows. Count).End(xlUp).Row) For Each Cell In SiteCol If Cell.Value Like "MyValue*" Then Cell.EntireRow.Copy Windows("MacroWorkbook.xls").Activate Sheets("Import File").Select Range("A"& Rows.Count).End(xlUp).Offset(1, 0).Paste End If Next
Bookmarks