vue-json-excel icon indicating copy to clipboard operation
vue-json-excel copied to clipboard

Cannot open file xls in Ms. Office windows

Open ndro opened this issue 8 years ago • 7 comments

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 :)

ndro avatar Jul 24 '17 06:07 ndro

+1

codextremist avatar Aug 02 '17 13:08 codextremist

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

jecovier avatar Aug 03 '17 20:08 jecovier

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

jecovier avatar Aug 03 '17 22:08 jecovier

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?

zhiyong-ft avatar Aug 27 '17 18:08 zhiyong-ft

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?"

zhegwood avatar Aug 28 '17 18:08 zhegwood

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

ndro avatar Aug 29 '17 02:08 ndro

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!)

xdadda avatar Sep 20 '17 07:09 xdadda