You may use following code:
Dim TotalRows As Integer
Dim Counter as Integer
TotalRows=Range("D65536").End(xlUp).Row
Range("D1").Activate
For Counter=1 to TotalRows
If Range("D"&Counter).Value=25 OR Range("D"&Counter).Value=15 OR
Range("D"&Counter).Value=16 Then
Rows(Counter).Delete
End If
ActiveCell.Offset(1,0).Select
Next