-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the Import of Encrypted Excel Files #174
Comments
@robinmalik Could you post a sample xlsx that is protected this way and let me know the password and steps to "unlock" it. Thanks. May be a clue |
This file has the ever so secure password of 'password': blah4.xlsx Opening in Excel 2016 I'm prompted twice for a password. The above code seems to open the spreadsheet and import the workbook and worksheet data ok. |
The request for this support is a great idea! Thank you @robinmalik ! |
This is indeed a great request! I'll have a look when I have some time to add this feature to the newly updated |
This code appears to work for me (assuming a plain text [string] parameter added to the Import-Excel function).
In the event that a bad password is specified, we get the error: Exception calling "Load" with "2" argument(s): "Invalid password".
Note: This is not the same as a password "protected" workbook or worksheet.
The text was updated successfully, but these errors were encountered: