I would use two macros to do this.
The first sheet specific would look for the word closed and run the second macro.
Right click on the sheet name at the bottom of excel and select view code
paste this code there and close the window.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or Target.Column <> 7 Or InStr(LCase(Target.Value), "closed") = 0 Then Exit Sub
Closed (Target.Row)
End Sub
Put this second Macro into a standard Macro Module.
Sub Closed(MyRow As Integer)
Application.EnableEvents = False
With Sheets("Closed")
.Range("A2:H2").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End With
Sheets("Master").Range("A" & MyRow & ":H" & MyRow).Copy Destination:=Sheets("Closed").Range("A2")
Sheets("Master").Range("A" & MyRow & ":H" & MyRow).Delete Shift:=xlUp
Application.EnableEvents = True
End Sub
Bookmarks