Rows need to delete for specific rows need to keep

Hi @chaitanyaKumar ,

Assuming you have read the Excel sheet data as a Datatable, then we could use the below expression :

UpdateDT = DT.AsEnumerable.Take(10).CopyToDatatable

Then, you would require to write the output in a new Excel sheet.

To Write it in the same sheet, you could clear the Sheet contents using Clear Range activity (Modern) or could follow the approach here :