Sub aaa()
Dim wsOpen As Worksheet, wsClosed As Worksheet
Dim rFilter As Range
Set wsOpen = Sheets("Open Items")
Set wsClosed = Sheets("Closed Items")
'Filters for all items marked as "Complete"
wsOpen.Range("A1").AutoFilter Field:=5, Criteria1:="90-Completed"
'Set the range to equal all the items that are "Complete"
Set rFilter = wsOpen.AutoFilter.Range.Offset(1, 0).SpecialCells(xlCellTypeVisible)
'Moves the range to the Closed sheet
rFilter.EntireRow.Copy wsClosed.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0)
'Deletes the Completed items from the Open sheet
rFilter.EntireRow.Delete
'Takes the filter off
wsOpen.Range("A1").AutoFilter
End Sub
Bookmarks