Deletes a specified number of rows and its contents from the worksheet. Rows below the deleted rows will be moved up.

 public void DeleteRows(int rowNumber, int rowCount)
Public Sub DeleteRows(ByVal rowNumber As Integer, ByVal rowCount As Integer)

The 0-based number of the row to remove.

The number of the rows to remove.

ws.DeleteRows(70, 500);
ws.DeleteRows(70, 500)