Hi, Seems it's a duplicate post.
Meanwhile use below code in Data Sheet of Book1. keep both workbook open.
When you type HOD, the row will be copied in Done sheet of book2.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim wb As Workbook
Dim targetRow As Integer
Set wb = Workbooks("Book2.xlsx")
targetRow = wb.Sheets("Done").Cells(Rows.Count, 1).End(xlUp).Row + 1
If Target.CountLarge > 1 Then Exit Sub
If Not Intersect(Target, Range("E:E")) Is Nothing Then
If Range("E" & Target.Row) = "HOD" Then
ActiveSheet.Range(Target.Row & ":" & Target.Row).Copy wb.Sheets("Done").Range("A" & targetRow)
End If
End If
End Sub