Export HTML Table to Excel- Doesn't Open in Office 2010

后端 未结 8 1583
南方客
南方客 2020-12-08 15:40

I am using the following Javascript code to generate an excel on the fly, which converts HTML table to a spreadsheet.

The excel file does not open in Office 2010, sh

8条回答
  •  时光说笑
    2020-12-08 16:01

    Instead of doing:

    We uncheck the first option that reads -- "Enable Protected View for files originating from the Internet" which is not safe

    Do this:

    Go to Properties of the file and click Unblock (If you know the file is safe).

    Image: Go to Properties of the file and click Unblock

提交回复
热议问题