D
Damil4real
Hide rows 32:33 if E30 is NO. Hide rows 36:38 if E35 is "NO"...etc. I
intend to have about 4 or 5 of these variables.
The code I have below is currently not working. code is currently
placed in the workbook. Please help! Thanks!
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
Range)
Select Case Target.Address
Case "$E$30"
If Target.Address <> "$E$30" Then Exit Sub
Rows.Hidden = False
If UCase(Target) = "NO" Then Rows("32:33").Hidden = True
Exit Sub
Case "$E$35"
If Target.Address <> "$E$35" Then Exit Sub
Rows.Hidden = False
If UCase(Target) = "NO" Then Rows("36:38").Hidden = True
Exit Sub
End Select
End Sub
intend to have about 4 or 5 of these variables.
The code I have below is currently not working. code is currently
placed in the workbook. Please help! Thanks!
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
Range)
Select Case Target.Address
Case "$E$30"
If Target.Address <> "$E$30" Then Exit Sub
Rows.Hidden = False
If UCase(Target) = "NO" Then Rows("32:33").Hidden = True
Exit Sub
Case "$E$35"
If Target.Address <> "$E$35" Then Exit Sub
Rows.Hidden = False
If UCase(Target) = "NO" Then Rows("36:38").Hidden = True
Exit Sub
End Select
End Sub