I am trying to convert *.xlsb
file into php array
or *.csv
file (or at least *.xls
). I tried to use PHPExcel
, but looks like it can not recognize what's inside this file.
I noticed, that you can rename *.xlsb
file into *.zip
file and then unzip it using command line unzip *.zip
. And after this you will get next folders with sheet1.bin
file:
Looks like this file should contain Excel cell values, but I still can not parse it using PHPExcel
. Can someone help me is it even possible to parse *.xlsb
files and get information from it? Or maybe it is possible to parse this sheet1.bin
file?
PHPExcel does not support XLSB files. XLSB file format is a zip archive, same as XLSX, but the majority of files inside the archive are binary files. The binary files are not easy to parse.
An Excel library for PHP that supports XLSB files is EasyXLS. You can download the library from here.
Convert XLSB to PHP array
or
Convert XLSB to CSV
Convert XLSB to XLS