Hi guys
Im trying to hide rows that have the numbers 1 or 2 in column A
I can get it to work for one number but cant seem to get it to see the number 2 as well.
This is what i got so far.
![]()
Dim c As Range For Each c In Range("A2:A200").Cells If c.Value = "1" And "2" Then c.EntireRow.Hidden = True End If Next c
Bookmarks