Alasql: XLS file format and Excel 2013

Created on 10 Dec 2015  Â·  5Comments  Â·  Source: agershun/alasql

_Spawned from #484_

When I try to open an exported .XLS Excel 2013 gives me this popup message:

image

I can continue by clicking yes. The issue is replicated in http://jsfiddle.net/2f1vz2cm/ for .XLS files.

! Bug Excel

Most helpful comment

Cool. Followed that link above and did this below

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″

Warning popup won't show anymore.

All 5 comments

@nickdeis Hmmm - interesting. Thanks for putting it out there. Its always good to know its not only your own code that generates some sort of bad user experience with Excel

I think the best solution here might be a clear wiki entry, and a console.warn statement in the unminified code.
React does this, and I love it.
Something along the lines of

console.warn("XLS format may throw a warning when opened in Excel, see ");

This issue caught my eye because I've had this issue with other products like BIRT reports.

Cool. Followed that link above and did this below

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″

Warning popup won't show anymore.

:+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Serge-SDL picture Serge-SDL  Â·  4Comments

Pasc95 picture Pasc95  Â·  6Comments

mathiasrw picture mathiasrw  Â·  5Comments

carloszimm picture carloszimm  Â·  3Comments

arnemorken picture arnemorken  Â·  6Comments