Sub thing()
Range("A2").Select
While ActiveCell.Row <= ActiveSheet.UsedRange.Rows.Count
If ActiveCell.Value = Selection.Offset(0, 1).Value _
And Selection.Offset(0, 2).Value <> Cells(1,1).Value _
And ActiveCell.Value & Selection.Offset(0, 1).Value & Selection.Offset(0, 1).Value <> "" Then
Rows(ActiveCell.Row).Hidden = True
End If
Selection.Offset(1, 0).Select
Wend
end sub
You are not logged in, either login or create an account to post comments
posted by dfriedman at 8:25 PM on November 17, 2009