Hide Rows Based on Text in cell

VH5150

Board Regular
Joined
Mar 1, 2004
Messages
60
I have a worksheet that has the word "Yes" in intermittent cells throughout my worksheet in column L. I would like to write a macro that hides the entire row if the word "Yes" is present in column L. What is the code for this. My worksheet starts at row 22 and ends at row 210. Thanks!
 

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Watch MrExcel Video

Forum statistics

Threads
1,118,799
Messages
5,574,380
Members
412,589
Latest member
ArtBOM
Top