Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Column = 3 And LCase(Target.Value) = "ok" Then
uf = Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Row + 1
With Target.EntireRow
.Copy: Sheets("Sheet2").Range("A" & uf).PasteSpecial xlValues: .Delete
End With
End If
Application.EnableEvents = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
On Error GoTo Ends
If Target.Column = 3 And LCase(Target.Value) = "ok" Then
uf = Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Row + 1
With Target.EntireRow
.Copy: Sheets("Sheet2").Range("A" & uf).PasteSpecial xlValues: .Delete
End With
End If
Ends:
Application.EnableEvents = True
End Sub