Not sure what is missing here, but this will only highlight duplicates on the active sheet and won't cycle thru all worksheets in the workbook.
![]()
Sub FindDups() Dim i As Range Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets For Each i In Range("A1:E3") If Application.WorksheetFunction.CountIf(Range("A1:E3"), i) > 1 Then i.Interior.ColorIndex = 33 End If Next i Next ws End Sub
Bookmarks