Hello LongHornBlue,
The following code may do the job for you:-
Private Sub Worksheet_Calculate()
Application.ScreenUpdating = False
Dim lRow As Long
lRow = Range("A" & Rows.Count).End(xlUp).Row
Sheets("Sheet2").Range("A11:G" & Rows.Count).ClearContents
For Each cell In Range("E2:E" & lRow)
If cell.Value <> 0 Then
cell.EntireRow.Copy
Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues
End If
Next
Application.ScreenUpdating = True
Application.CutCopyMode = False
End Sub
It is a Worksheet_Calculate event and needs to be placed in the worksheet module rather than a standard module. So, right click on the sheet 1 tab, select "View Code" and in the big white field that appears, paste the code.
Every time that you enter a value in Column E on sheet 1 and click away, the subject row will be transferred to sheet 2 (I'm assuming that you have a simple sum formula dragged down Column G). Have a look at my attached test work book to see what I mean. I also noticed that the headings in the two sheets do not match exactly. Is this a typo? The test work book has them matching.
Let us know how it goes.
Cheerio,
vcoolio.
Bookmarks