Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Right click your sheet tab, view code and paste this in Private Sub Worksheet_Change(ByVal Target As Range) If UCase(Range("B10")) = "X" Or UCase(Range("B11")) = "X" Then Rows(15 & ":" & 19).EntireRow.Hidden = False ElseIf WorksheetFunction.CountA(Range("B10:B11")) = 0 Then Rows(15 & ":" & 19).EntireRow.Hidden = True End If End Sub Mike "Leiprecht" wrote: Trying to create a macro where if Cell B10 or B11 has an "X" then Rows 15-19 are unhiden. If B10 and B11 are both blank then rows 15-19 is hidden. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
macro to hide all rows that have a cell value of "complete" | Excel Programming | |||
macro to hide all rows that have a cell value of "complete" | Excel Programming | |||
macro to hide all rows that have a cell value of "complete" | Excel Programming | |||
If "x" Hide / Unhide Rows | Excel Discussion (Misc queries) |