ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Hi,
I would like to hide a cell value if a specific cell value contains a specific word.
Cell M11 is a drop down with two options CAre or BIKE
If CAR is selected then i wish to hide the values in cells O14 & O17
Trying with the code below i am being today doesnt support support this property or method with the line shown in Red
I would like to hide a cell value if a specific cell value contains a specific word.
Cell M11 is a drop down with two options CAre or BIKE
If CAR is selected then i wish to hide the values in cells O14 & O17
Trying with the code below i am being today doesnt support support this property or method with the line shown in Red
Rich (BB code):
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("M11").Value = "CAR" Then
Range ("O14").Visible = False
End If
End Sub