Hi,
This works but can anyone think of a way to make it faster? It needs to look through over 15,000 rows.
This works but can anyone think of a way to make it faster? It needs to look through over 15,000 rows.
Code:
Set Sh_1 = ActiveWorkbook.Sheets("NFC Allocations")
Set Sh_2 = ActiveWorkbook.Sheets("RSL")
For r = 2 To Sh_1.UsedRange.Rows.Count
For s = 2 To Sh_2.UsedRange.Rows.Count
If Sh_2.Cells(s, 1) = Sh_1.Cells(r, 1) Then
Sh_2.Cells(s, 1).Interior.ColorIndex = 6
Sh_1.Cells(r, 1).Interior.ColorIndex = 3
End If
Next s
Next r