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

后端 未结 8 1637
南方客
南方客 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

    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

提交回复
热议问题