javascript - How to read from .xls file using exceljs? - Stack Overflow

I am unable to read from .xls file using exceljs library. I also tried to read after changing my file i

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?

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?

Share Improve this question asked Oct 15, 2019 at 10:00 Lokesh JainLokesh Jain 5796 silver badges19 bronze badges 3
  • What error are you getting? – Aslam Commented Oct 15, 2019 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. – user5734311 Commented Oct 15, 2019 at 10:06
  • @Aslam I am not getting any error or data – Lokesh Jain Commented Oct 15, 2019 at 10:22
Add a ment  | 

1 Answer 1

Reset to default 6

While its documentation does not say it explicitly, exceljs only supports either XLSX or CSV:

  • https://github./exceljs/exceljs/issues/148
  • https://github./exceljs/exceljs/issues/165

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744839944a4596495.html

相关推荐

  • javascript - How to read from .xls file using exceljs? - Stack Overflow

    I am unable to read from .xls file using exceljs library. I also tried to read after changing my file i

    2天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信