Possible Duplicate:
How can I access password protected Excel workbook in Java using POI api
How to open a password protected Word/Excel-file using Apache POI in Java ?
Please, write the code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apache POI support for reading encrypted XLSX and DOCX files. Refer the Apache POI documentation
Your code should be something like this: