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
Possible fixes for the problem:
Solution 1:
1) Type Regedit in start menu
2) Navigate to registry as,
In the registry: HKEY_CURRENT_USER\Software\Microsoft\Office\\Excel\Security
where =
15.0 for Office 2013
16.0 for Office 2016
12.0 for Office 2010
create a DWORD(32bit) value and name it: ExtensionHardening. The possible values are:
0: Do not check the file name extension and
the file type, and bypass the function of the warning message.
1: Check the file name extension and the file type.
If they do not match, display the warning message.
2: Check the file name extension and the file
type. If they do not match, do not open the file.
Use 1 as the value.
Solution 2:
Right click on Excel -->Properties-->Unblock-->Ok.
UnblockExcel
SOlution 3
Uninstall the updates:
Windows Update KB3115272 (Excel 2016/64 bit)
Windows Update KB3115262 (Excel 2013)
Windows Update KB3115130 (Excel 2010)
For more info about the issue .please refer the link below. https://social.technet.microsoft.com/Forums/en-US/d2d84793-9920-45e3-baef-5027a4ac1ae0/kb3170008-for-office-2016-breaks-functionality-ms16088?forum=officeitpro