I am trying to use a macro to do the following
If cell D279 contains any text then Clear contents of cells D276 & D277 - All cells are using data validation lists if an item is selected in Cell D279 than the items in D276 & D277 are no longer required.
I have tried the following code with Any & specific Text but it dosent seem to work
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("D279")) Is Nothing Then
If UCase(Range("D279")) = "Upgrade - To Ilve CJK90CSVI 90cm Dual fuel Upright Cooker" Then
Application.EnableEvents = False
Range("D276").ClearContents
Range("D277").ClearContents
Application.EnableEvents = True
End If
End If
End Sub
Appreciate any help
cheers
Bookmarks