I am unable to read from .xls file using exceljs library. I also tried to read after changing my file in .xlsx using fs but still I am unable to read data from that file. Is there any way to read from .xls file using exceljs?
Asked
Active
Viewed 3,007 times
4
-
What error are you getting? – Aslam Oct 15 '19 at 10:04
-
`.xls` and `.xlsx` are two very different formats, and renaming the file will not magically convert it. All you get is an `xls` file with the wrong file ending. exceljs doesn't support `xls`, which is the older, proprietary format. `xlsx` is an open standard and just zipped xml, which is easy to support. – Oct 15 '19 at 10:06
-
@Aslam I am not getting any error or data – Lokesh Jain Oct 15 '19 at 10:22
1 Answers
5
While its documentation does not say it explicitly, exceljs
only supports either XLSX or CSV:

Haroldo_OK
- 6,612
- 3
- 43
- 80