Hello All,
Info:
I've created a spreadsheet that filter data from and inventory list to 2 other sheets one titled "low" and the other titled "out of service" when the "actual qty" falls bellow the "req qty" in the inventory list it's filtered to the "low" sheet. When the "req qty" turns to zero it will be cut and pasted into the "Out of service" sheet.
Problem Statement:
If the "actual qty" equals the "req qty" it gets removed form the low sheet, but when this happens it leaves an empty row of cells. I've placed this code in to get rid of the duplicates, but it doesn't remove the empty cells. I'm uncertain of how to combine the two codes.
Here's the link to my excel sheet
https://app.box.com/s/wfxmfiew0pp9m4ehr3opzeepzgdidn1o
Thanks for any help in advance.
Info:
I've created a spreadsheet that filter data from and inventory list to 2 other sheets one titled "low" and the other titled "out of service" when the "actual qty" falls bellow the "req qty" in the inventory list it's filtered to the "low" sheet. When the "req qty" turns to zero it will be cut and pasted into the "Out of service" sheet.
Problem Statement:
If the "actual qty" equals the "req qty" it gets removed form the low sheet, but when this happens it leaves an empty row of cells. I've placed this code in to get rid of the duplicates, but it doesn't remove the empty cells. I'm uncertain of how to combine the two codes.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
With ActiveSheet
Set Rng = Range("A1", Range("H1").End(xlDown))
Rng.RemoveDuplicates Columns:=Array(1, 2), Header:=xlYes
End With
End Sub
Here's the link to my excel sheet
https://app.box.com/s/wfxmfiew0pp9m4ehr3opzeepzgdidn1o
Thanks for any help in advance.