excel-streaming-reader icon indicating copy to clipboard operation
excel-streaming-reader copied to clipboard

Google drive downloaded .xlsx format sheets not working

Open tabish-zilingo opened this issue 5 years ago • 3 comments

I used google sheet for adding entries in excel sheet, then i downloaded it in (.xlsx) format, then used this getLastRowNum from this library, its returning zero value. And in case i download it from drive, then open it once in Microsoft excel, simply press ctrl + s, without editing anything, in that case, getLastRowNum is working fine (returning actual number of rows).

Its Urgent - please tell me what to do.

tabish-zilingo avatar Feb 12 '20 14:02 tabish-zilingo

We are also seeing this with our application, any update on this?

Matttaylor8910 avatar Apr 04 '22 16:04 Matttaylor8910

The getLastRowNum is dependent on the dimension data that appears in the sheet xml. This is not always filled in. Iterating over the sheet rows and getting the row num of the last row is an alternative way to get this value.

pjfanning avatar Apr 04 '22 16:04 pjfanning

Thank you, using the iterator worked for me!

Matttaylor8910 avatar Apr 04 '22 19:04 Matttaylor8910