You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been testing the encryption feature to add encryption to existing workbooks a web app generates. Some work brilliantly, but with more complex workbooks they encrypt without any error but won't open in Excel.
Excel then shows the dialog:
If I click 'Yes' Excel hangs and has to be force-closed.
I thought our spreadsheets could be the issue (they are generated with box/spout) so tested encrypting with herumi/msoffice. Excel is able to decrypt these ones without issue.
I've been testing the encryption feature to add encryption to existing workbooks a web app generates. Some work brilliantly, but with more complex workbooks they encrypt without any error but won't open in Excel.
Excel then shows the dialog:
If I click 'Yes' Excel hangs and has to be force-closed.
I thought our spreadsheets could be the issue (they are generated with box/spout) so tested encrypting with herumi/msoffice. Excel is able to decrypt these ones without issue.
xlsx-populate setup
I installed it yesterday via npm:
My code to encrypt the file is:
Excel
Microsoft Excel 2016 MSO (16.0.8431.2110) 32-bit
Running on Windows 10 Pro
msoffice-crypto
Built yesterday from Git, on Ubuntu 16.04. When run on the file outputs:
Sample files
xlsx-populate
, does not open in ExcelThe text was updated successfully, but these errors were encountered: