My situation is a bit awkward, I have .xlsx file that: step 1. needs to enter password to open the file step 2. needs to enter password to edit the file
now the code in this link: Read Password protected excel file(.xlsx) using Java is able to open the file with password in step 1, but I am not able to find a way to perform step 2 in java, thus my code throws exception. does anyone know how to perform step 2 in java by using org.apache.poi.
I have tested to remove the "password to edit" xlsx and just had password to open the xlsx, it worked as expected.
Anyways, below are the exceptions when i executed my code: Exceptions