How can I know the max row with content when reading excel?

Hi,

When I was reading an excel file uploaded by user, how can I identify the max row that has values?

Otherwise if I read to the row that has no values I'll get error, I'm using excelreadcellsbynumber()

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data