I need to get the last row of the table which is inside the excel sheet. For that I tried to get the Table from the excel sheet. I have searched and found the below code for getting the Table.
sheet.ListObjects or IListObject table1 = sheet.ListObjects[0];
I have tried this code but It was not successful. It is returning the items count in ListObjects as 0.
Could you please help me to get the table details from the excel.
I have attached the excel file. Please refer the excel file.