Find last table line

Hey everyone,

I would like to know how can I find the last line from an excel table so that I can stop a current activity?


Is it you want to know last row line number ? if yes then after reading the excel and save the output in DT1
DT1.rows.count.tostring will give you total records in excel