Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mike is right
an empty cell will been as '0', so I have to adjust my macro Sub hideeeee() On Error Resume Next For Each cell In Selection If IsNumeric(cell) And cell.Offset(0, 4) = 0 And cell.Offset(0, 5) = 0 _ And Len(cell.Offset(0, 4)) 0 And Len(cell.Offset(0, 5) 0 Then cell.Rows.EntireRow.Hidden = True End If Next cell End Sub sorry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to show/hide rows based on a range of dates | Excel Programming | |||
Macro to Hide rows based on value of column F | Excel Discussion (Misc queries) | |||
Macro to hide and unhide based on criteria | Excel Discussion (Misc queries) | |||
Macro to hide rows based on a zero value in a particular cell | Excel Programming | |||
macro to hide rows based on formula? | Excel Programming |