Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to hide all rows in Column J that do not contain text
"*899*" (part of account number, formatted as 000-899-000). The code below doesn't do it. TIA Sub HideProjectRows() Dim intCounter As Integer Dim Str As String Str = "*899*" With Sheets("Projects 05") For intCounter = 2 To 487 If .Cells(intCounter, "J").Value < Str Then _ .Rows(intCounter).Hidden = True Next intCounter End With End Sub Greg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you hide/un-hide the grid lines | Excel Discussion (Misc queries) | |||
Want to Hide columns in spreadsheet but NOT hide data in chart. | Charts and Charting in Excel | |||
Hide Unhide Hide again | New Users to Excel | |||
Hide And Un-hide Excel Toolbars | Excel Programming | |||
How do I hide a worksheet in Excel and use a password to un-hide . | Excel Discussion (Misc queries) |