var1 = range("named_range1").row + 3
var2 = range("named_range2").row - 2
For i = var1 to var2
Rows(i).select
Selection.Delete
Next i
The named ranges have to be the reference because there are insertion of rows between them and the named ranges are the titles which cannot be deleted or changed, basically they are very important.
This part of the code is basically a button to delete all the rows which have been added between those titles during the user's usage, so that when it uses the next time the excel is in it's "default mode".
The code right now is deleting every 2 rows and the row with the 2nd named range.