Is it something like this you want,
Code:
Sub HideRows()
Dim Lastrow As Range
Dim i As Long
Set Lastrow = Cells.Find("*", , , , , xlPrevious)
If Not Lastrow Is Nothing Then
For i = 2 To Lastrow.Row
If Cells(i, 9).Value = "Not In" Then
Cells(i, 9).EntireRow.Hidden = True
End If
Next i
End If
End Sub
the code above is only an extension on what you have provided above
All ive provided is a specific range to look for your value in
HTH
Dave