I know how to use the base64-encoded bytes of a file to create an excel workbook using office.js. The bytes I'm using represent a password-protected (encrypted) Excel workbook. When I use
Excel.createWorkbook(base64)
it prompts the user to enter a password. However, the user will not know the password.
Is there a way to specify the password in code so the file will be opened without prompting the user to enter a password?
CodePudding user response:
Sorry, but there is no way to do this in Office.js at this time.