Hiding Rows

T

Tony McGee

Hello

How do I hide a row based upon a value in a specific column (eg hide all
rows where the cell in column G is blank) & allow for user input to specify
the column?

Thanks

Tony
 
S

Samura

You can use AutoFilter. This is an example.


Range("G1").Select
Selection.AutoFilter Field:=7, Criteria1:="<>"
 
Top