Search code examples
exceljsobservablehq

Loading excel files in observablehq


Observable has a built-in method for loading excel files. The docs say it's based on exceljs.

However, since it appears to be a cut-down version, I wanted to use exceljs directly.

I created this notebook.

Strangely, the loading seems to work - I see nontrival data in the object explorer - but access to the sheets from another observable cell gives me an empty array of sheets.


Solution

  • it seems to work with [...wb.worksheets]