Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What you are asking for requires a macro. If you want to persue that then
right click the sheet tab, select view code and paste the following... Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$A$1" Then If LCase(Target.Value) = "no" Then Rows("4:15").Hidden = True Else Rows("4:15").Hidden = False End If End If If Target.Address = "$A$19" Then If LCase(Target.Value) = "no" Then Rows("20:100").Hidden = True Else Rows("20:100").Hidden = False End If End If End Sub -- HTH... Jim Thomlinson "TG" wrote: Hello, How would I be able to hide lets say row 4-15 if A1 had the word no? Is this even possible? Also, what if i also want to hide rows 20-100 if A19 says "no"? Thank you in advance, TG |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide sheets based on Cell value | Excel Discussion (Misc queries) | |||
Is there a way to hide worksheets and/or rows/columns based on information enter into a particular cell of range of cells? | New Users to Excel | |||
hide rows based on cell value | New Users to Excel | |||
hide rows based on value in cell | Excel Discussion (Misc queries) | |||
Is there a way to HIDE a row based on a value of a cell ? | Excel Discussion (Misc queries) |