Dear All,
If cell in column P then set Q and R to blank for relevent row in Column Q and R.
If Change in Column Q then set R to blank for relevent row in R.
Range name Master refers to Parent -Highest Level
Range Name UseList to Child - Middle Level
I have code below but it does not work.
Your help would be appreciated.
Biz
If cell in column P then set Q and R to blank for relevent row in Column Q and R.
If Change in Column Q then set R to blank for relevent row in R.
Range name Master refers to Parent -Highest Level
Range Name UseList to Child - Middle Level
I have code below but it does not work.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Intersect(Target, Range("Master")) Is Nothing Then
Range(Cells(Target.Row, "Q"), Cells(Target.Row, "R")).Value = ""
'Asset Type Changes
ElseIf Not Intersect(Target, Range("UseList")) Is Nothing Then
Range(Cells(Target.Row, "R")).Value = ""
End If
Application.EnableEvents = True
End Sub
Your help would be appreciated.
Biz