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