Right-click on the sheet tab
Choose "View Code"
Paste in the code below
Close the VBA editor
Write a value into E24
Andreas.
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Address(0, 0)
Case "E24"
DUPLICATES
End Select
End Sub