Hi, kkihead,
regarding the run-time error (my bad I didnīt update the code accordingly):
Sub EF949541_2()
Dim lngCounter As Long
With Sheets("Log")
For lngCounter = .Cells(.Rows.Count, "D").End(xlUp).Row To 1 Step -1
Select Case .Range("D" & lngCounter)
Case "Bill", "Tim", "Marty", "Dave"
.Rows(lngCounter).Copy Sheets(.Range("D" & lngCounter).Value).Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
.Rows(lngCounter).Delete
Case Else
End Select
Next lngCounter
End With
End Sub
This code will take away the line from sheet Log. The other way is (as you mentioned) clear contents on all named sheets prior to running the macro, I wouldnīt take the Workjsheet_Change-event to trigger the macro after a change but use the Worksheet_Deactivate - you would need to activate any other sheet to view what has been copied.
Ciao,
Holger
Bookmarks