Deleting a row from Excel

Hi,

Can anyone please tell me how to delete a row from an excel using X++?

My requirement is I have the excel file and also the row number to delete. I have tried different ways but could not do it.

Please can anyone help me on this.