alasql导出为ex​​cel以html格式保存

时间:2015-12-08 19:59:20

标签: export-to-excel alasql

enter image description here

在IE9中,我在保存之前会看到上面的窗口,但是通过单击“保存”将文件保存为FILENAME.xls。此外,当我尝试打开保存的文件时,它会给我下面的弹出消息,虽然我可以继续点击是

enter image description here

无论如何我可以避免这种情况吗?

1 个答案:

答案 0 :(得分:1)

通过以下方式可以避免第二部分(警告弹出窗口)

Insert this key in your registry to suppress the notification:

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Security] “ExtensionHardening”=dword:00000000
You can accomplish the above by doing the following:
1.  Open your Registry (Start -> Run -> regedit.exe)
2.  Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\15.0\EXCEL\SECURITY
3.  Right click in the right window and choose New -> DWORD
4.  Type “ExtensionHardening” as the name (without the quotes)
5.  Verify that the data has the value “0″