iT邦幫忙

0

exceljs.js 讀取XLS檔 ERR

  • 分享至 

  • xImage

您好:
目前使用 exceljs.js
讀取 XLSX 沒問題
但讀 XLS 就會出現ERR

Uncaught (in promise) Error: Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html

請問exceljs.js 可以讀取XLS檔嗎?

froce iT邦大師 1 級 ‧ 2023-11-28 11:16:33 檢舉
https://github.com/exceljs/exceljs

Read, manipulate and write spreadsheet data and styles to "XLSX" and JSON.
人家都寫了...

XLSX格式和XLS格式是兩回事,XLS這格式沒開放,一切都是逆向工程來的,要js支援會有點難度
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答