Hello Dempix.
Sub Dempix()
Application.ScreenUpdating = False
Sheets("Sheet2").Activate 'RENAME SHEET 2
Set Rng = Range(Cells(1, 2), Cells(1, 2).End(xlDown))
Sheets("Sheet1").Activate 'RENAME SHEET 1
For Each cell In Range(Cells(1, 3), Cells(1, 3).End(xlDown))Set Fcell = Rng.Find(What:=cell.Value, LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False)
If Not Fcell Is Nothing Then
cell.Interior.Color = 255
Else
End If
Next cell
MsgBox "All done!"
Application.ScreenUpdating = True
End Sub
NOTE! Rename sheets in code. In excel go to developer tab, click on "Macros" select this macro and click on "Options", select prefered keyboard shortcut to run the macro.
Bookmarks