Anyone know why I would get this error on this code? It abends at the first ActiveSheet.Paste if the If statement is true.
[VBA] Sub CopyRows()
Sheets("Sheet1").Select
' Find the last row of data
FinalRow = Range("A65536").End(xlUp).Row
' Loop through each row
For x = 2 To FinalRow
' Decide if to copy based on column H
ThisValue = Range("E" & x).Value
If ThisValue = "MATCH" Then
Range("A" & x & ":C" & x).Copy
Sheets("Sheet2").Select
NextRow = Range("A65536").End(xlUp).Row + 1
Range("A" & NextRow).Select
ActiveSheet.Paste
Sheets("Sheet1").Select
ElseIf ThisValue = "No Match" Then
Range("A" & x & ":C" & x).Copy
Sheets("Sheet3").Select
NextRow = Range("A65536").End(xlUp).Row + 1
Range("A" & NextRow).Select
ActiveSheet.Paste
Sheets("Sheet1").Select
End If
Next x
End Sub [/VBA]