jecovier / vue-json-excel

MIT License
687 stars 168 forks source link

Cannot open file xls in Ms. Office windows #2

Open ndro opened 7 years ago

ndro commented 7 years ago

Hello,

I try to create downloaded file '.xls' in vue. It works. But, the file can (only) opened in LibreOffice. If I download file and opened in Ms. Office Excel, it can't open. The message appear seems like "... the extention don't match, corrupt or unsafe ...".

Or is there any configuration that must be set?

Thanks :)

codextremist commented 7 years ago

+1

jecovier commented 7 years ago

Hi, I'm working on this solution. Thanks for the comment.

jecovier commented 7 years ago

Hi there, new version it's available. Please check it out.

zhiyong-ft commented 7 years ago

when I tried to open the xls file, I got the following message:

image

If I press OK button, MS Excel will still open the file without problem. Is there anyway to avoid the message window?

zhegwood commented 7 years ago

I'm getting this same result in Windows, but not Mac. The error that shows for me is:

"The file format and extension of 'filename.xls' don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?"

ndro commented 7 years ago

@jecovier I tried to update the package, but I don't know, I'm still getting that error message.

xdadda commented 7 years ago

it's a security feature introduced a while back in office. Just go on and click open, otherwise unlock the file or disable the security feature from Excel options (not recommended!)