Try this:-
Sub MG19Apr00
Dim Rng As Range
Dim Dn As Range
Dim Twn As String
Dim nRng As Range
With Sheets("On Air Notice")
Set Rng = .Range(.Range("A1"), .Range("A" & Rows.Count).End(xlUp))
End With
With CreateObject("scripting.dictionary")
.CompareMode = vbTextCompare
For Each Dn In Rng
Twn = Dn & Dn.Offset(, 1)
If Not .Exists(Twn) Then
.Add Twn, Dn
Else
If nRng Is Nothing Then
Set nRng = Dn
Else
Set nRng = Union(nRng, Dn)
End If
End If
Next
If Not nRng Is Nothing Then nRng.EntireRow.Hidden = True
End With
End Sub
Regards Mick
Bookmarks