PHP_XLSXWriter icon indicating copy to clipboard operation
PHP_XLSXWriter copied to clipboard

Excel found unreadable content in

Open h0rseduck opened this issue 5 years ago • 0 comments

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

h0rseduck avatar Nov 18 '19 13:11 h0rseduck