Skip to content

Does Exceljs support xls file forma ? I test xlsx file ok ,but xls file can not read . #2692

Open
@imtiger

Description

@imtiger

I first test use a xls file ,file is uploaded as a attachment.

const workbook = new ExcelJS.Workbook(); await workbook.xlsx.readFile(filePath); let worksheet = workbook.worksheets[0];

the worksheet is undefined ,

but i convert xls file to xlsx ,the above code work 。

anyone knows exceljs only work for xlsx ?

thanks for help my friends.

test.excel.xls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions