Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is the example:
Kelly John Tulsa & Stillwater OK I have a range of 10 states, 20 states, another 20 states for 3 different people. If state matches in the range of the 10 states, then all other rows are hidden..thought it was as basic as, Dim R As Range For Each R In Range("E:E") If R.Value = ("L:L") Then Rows(R.Row).Hidden = True Next End Sub or Dim cell As Range 'For Each cell In Range("L:L") 'If UCase(cell.Value) = "IA" Then 'cell.EntireRow.Hidden = True 'End If 'Next I'm out of ideas. Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Populate combo box, then hide rows that don't match chosen value | Excel Programming | |||
auto-hide rows, cell format (# and @), update cell refs, shade cel | Excel Discussion (Misc queries) | |||
Hide Rows if cell value is | New Users to Excel | |||
hide rows when the cell is #VALUE! | Excel Worksheet Functions | |||
hide rows if cell=0 | Excel Programming |