It does not involve deleting rows. There is no error message.
Here' my loop code;
intStop = Sheets("First QT").Range(mstrGMStart).CurrentRegion.Rows.Count 'Change to find l
Do Until intCounter = intStop
If rngDAFRPCA = rngGMPCA Then
'ActiveWindow.ScrollWorkbookTabs Position:=xlFirst
Sheets("First QT").Select
rngToCopy.Select
Selection.Copy
Sheets("Prepared_Expense").Select
'Range(rngDestin).Select 'This caused the error Range is redundent
rngDestin.Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
'Moves to next row in the expense worksheet and the next destination cell.
Set rngDAFRPCA = rngDAFRPCA.Offset(1, 0)
'rngGMPCA = rngGMPCA.Offset(1, 0)
'Sheets("Prepared_Expense").Select
Set rngDestin = rngDestin.Offset(1, 0)
Else
'Moves to next DAFR PCA and test for match.
'rngDAFRPCA = rngDAFRPCA.Offset(1, 0)
'Moves to next GM PCA and test for match.
Set rngGMPCA = rngGMPCA.Offset(1, 0)
Set rngToCopy = rngToCopy.Offset(1, 0)
'Records comment in cell with DAFR PCA to alert user to non-matching problem _
all the DAFRPCAs have been tested.
If intCounter = intStop Then
rngDAFRPCA.Comment = "DAFR PCA has no match in GM worksheet, please research."
rngGMPCA.Comment = "DAFR PCA has no match in GM worksheet, please research."
rngDestin.Comment = "No data retreived."
'Moves to next row in both worksheets and a new destination cell.
Set rngDAFRPCA = rngDAFRPCA.Offset(0, 0)
Set rngGMPCA = rngGMPCA.Offset(1, 0)
Set rngDestin = rngDestin.Offset(1, 0)
intCounter = 0
End If
End If
'Increments counter.
intCounter = intCounter + 1
Loop
End Sub