Apologies Matt,
I responded correcting fb's code, not your original query
try
[VBA]Set rng = rng.Cells.SpecialCells(xlCellTypeVisible)
If rng.Row = 1 Then
MsgBox "Nothing found"
End If [/VBA]