by mak » Sat Feb 12, 2011 7:51 am
Hi Al
if at bet ref there is CANCELLED you can use Gary code
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count = 16 Then
Application.EnableEvents = False
With Range("t5:t54")
Set c = .Find("CANCELLED", LookIn:=xlValues)
If Not c Is Nothing Then
firstaddress = c.Address
Do
c.Value = ""
Set c = .FindNext(c)
If Not c Is Nothing Then
If c.Address = firstaddress Then c = Nothing
End If
Loop While Not c Is Nothing
End If
End With
Application.EnableEvents = True
End If
End Sub
If there is a number you can use an if statement like
=if(T5>0,"CLEAR",...your trigger...)