Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "Q:Q" '<== change to suit
On Error GoTo ws_exit
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
If Target.Value = "Closed" Then Target.EntireRow.Delete
End If
ws_exit:
Application.EnableEvents = True
End Sub
'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Albert" <(E-Mail Removed)> wrote in message
news

E275095-252C-4AFF-84C3-(E-Mail Removed)...
> Hi Guys,
>
> I would like to delete the row if a column "status" changes to "closed.
>
> this is what I got, but of course it is not working can you help?
>
> Dim cnclrge As Range
> ' If ActiveCell.Offset(0, 17) = "Closed" Then
> '
> ' cnclrge.EntireRow.Delete
> ' End If
>
> Thanks
> Albert