export-csv icon indicating copy to clipboard operation
export-csv copied to clipboard

Incorrect XLS file format ?

Open A---- opened this issue 10 years ago • 10 comments

When exporting in XLS, I'm having a prompt when opening the file stating that the format is different from the specified extension: image

Excel version is 2007.

A---- avatar Mar 16 '15 10:03 A----

We are aware of this. This is because the file is a "HTML", clicking "Yes" should open the file without problem.

SirAlexiner avatar Mar 16 '15 11:03 SirAlexiner

Hi, I am facing the same problem. When i downloaded the chart i found the message error and when i pressed "yes" the result was image but i was expecting something like expected_chart

There is some fix?

Thanks!

RafaelRSantos avatar Apr 22 '15 13:04 RafaelRSantos

When file is converted to HTML and we try to save a file, then default type is webpage, not xls (but is obvious). Problem not appear in macosx office 2000, but in windows (office 2010) exists.

sebastianbochan avatar Sep 21 '15 11:09 sebastianbochan

Also -- I looked at the XML. There is no content in the XML that would generate a chart. The content is only for the data.

zazzcode avatar Sep 25 '15 16:09 zazzcode

@zazzcode It is intentional that it only exports the data.

TorsteinHonsi avatar Sep 28 '15 06:09 TorsteinHonsi

The same error appears when we try to export into xlsx format (edited source code).

http://jsfiddle.net/c3k6kx7v/

sebastianbochan avatar Jun 08 '16 10:06 sebastianbochan

+1

sebastianbochan avatar Sep 09 '16 10:09 sebastianbochan

another problem with office 2016 and xls file capture

I must click Unblock to open the file

BOEBenjamin avatar Sep 09 '16 10:09 BOEBenjamin

Any updates about this issue ?

amrdruid avatar May 08 '17 16:05 amrdruid

No, currently we haven't found a good workaround for it.

TorsteinHonsi avatar May 09 '17 11:05 TorsteinHonsi