Hi, I am really new to this and need help in unhiding some rows on my sheet based on the cell value of another cell which has a drop down validation list. I have already added in code for the same sheet that works for another section where I want this, but cant get the next one to work. So in my example, if cell C41 has the drop down value "012 - Alcoholic Beverages", then i want rows "43:45" to become unhidden (currently manually hidden), if it is any other value or blank I need it to stay hidden. Code already pasted in is:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("B3").Value = "Food" Then
Range("A41:A44").EntireRow.Hidden = True
Else
Range("A41:A44").EntireRow.Hidden = False
End If
End Sub
Your simple resolution to this problem would be greatly appreciated!
Thanks
Bookmarks