I have drop down lists in C8 to FU8 and drop down lists in C9 to FU9 that depend on the value selected in the first drop down list. I'm trying to clear the cell contents of C9 to FU9 if the value in C8 to FU8 is changed. I have managed to get this to work when I specify singular cells e.g.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
For Each Cell In Target
If Cell.Address = "$C$8" Then
Application.EnableEvents = False
Range("C9").ClearContents
Application.EnableEvents = True
End If
Next Cell
End Sub
However, I can't get this to work for the whole range of cells. I also want each column to be independent so that if the value in D8 is changed this doesn't clear the contents of all cells in range C9:FU9 and only clears the contents of D9.
Any help would be appreciated thank you!