This project has moved. For the latest updates, please go here.

Read xlsx file with password protected sheet fail.

Oct 8, 2012 at 3:59 AM

Dear Member,

Would you please give me a help? I have written code to read xlsx without password on worksheet. The code ran well. Then I add password on excel sheet. The code throw "Password Invalid" exception. Through I used new ExcelPackage(path, password), and used the password on sheet as parameter.

Oct 29, 2015 at 11:05 AM
Hi @yuxinbo,

Did you figured it out? I have the same problem. I'm using EPPlus v3.1.3.0
Oct 30, 2015 at 10:32 AM

The only way i managed so far is to not protect the workbook but only protect the sheets :S