Code:
Sub Delete_Rows()
Dim vFirstValue As Long
Dim vSecondValue As Long
Dim V1 As Long
Dim V2 As Long
Dim rng As Range
Set rng = Range("H5", Range("H" & Rows.Count).End(xlUp))
Application.ScreenUpdating = False
ActiveSheet.AutoFilterMode = False
vFirstValue = Application.InputBox(Prompt:="Enter Value 1", Type:=1)
vSecondValue = Application.InputBox(Prompt:="Enter Value 2", Type:=1)
Columns("H").AutoFilter Field:=1, Criteria1:="<V1=vFirstValue", Operator:=xlOr, Criteria2:=">V2=vSecondValue"
On Error Resume Next
rng.SpecialCells(xlCellTypeVisible).EntireRow.Delete
On Error GoTo 0
ActiveSheet.AutoFilterMode = False
Application.ScreenUpdating = True
End Sub
Sub Delete_Rows()
Dim vFirstValue As Long
Dim vSecondValue As Long
Dim V1 As Long
Dim V2 As Long
Dim rng As Range
Set rng = Range("H5", Range("H" & Rows.Count).End(xlUp))
Application.ScreenUpdating = False
ActiveSheet.AutoFilterMode = False
vFirstValue = Application.InputBox(Prompt:="Enter Value 1", Type:=1)
vSecondValue = Application.InputBox(Prompt:="Enter Value 2", Type:=1)
Columns("H").AutoFilter Field:=1, Criteria1:="<V1=vFirstValue", Operator:=xlOr, Criteria2:=">V2=vSecondValue"
On Error Resume Next
rng.SpecialCells(xlCellTypeVisible).EntireRow.Delete
On Error GoTo 0
ActiveSheet.AutoFilterMode = False
Application.ScreenUpdating = True
End Sub