D Don Guillett Jun 18, 2009 #2 sub hideem() if len(application.trim(range("i8")))<1 then rows ("5:30").hidden=true end if end sub
R ryguy7272 Jun 18, 2009 #3 Try this: Sub Hide() If Range("I8") = "" Then Rows("5:30").RowHeight = 0 End If End Sub Sub Unhide() Cells.Select Selection.RowHeight = 12.75 End Sub HTH, Ryan---
Try this: Sub Hide() If Range("I8") = "" Then Rows("5:30").RowHeight = 0 End If End Sub Sub Unhide() Cells.Select Selection.RowHeight = 12.75 End Sub HTH, Ryan---