PHP_XLSXWriter
PHP_XLSXWriter copied to clipboard
Excel found unreadable content in
Hello. I need to create a file with a huge number of columns and set the width for all of them. When forming a file with more than 1024 columns, I get an error when opening the file "Excel found unreadable content in '[filename].xls'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes."
Most likely, this is due to this code, because if I increase the max
parameter in this line, then everything works for me.
https://github.com/mk-j/PHP_XLSXWriter/blob/39101b730210faae9dc47260a207a0823d6d7479/xlsxwriter.class.php#L181