ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding Rows (https://www.excelbanter.com/excel-programming/302214-hiding-rows.html)

Tony McGee

Hiding Rows
 
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



SAMURA

Hiding Rows
 
You can use AutoFilter. This is an example.


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


--
Samura


"Tony McGee" wrote in message
...
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?




All times are GMT +1. The time now is 06:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com