aspose file tools
The moose likes Java in General and the fly likes How can we read protected password excel file (.xls) with POI API Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How can we read protected password excel file (.xls) with POI API" Watch "How can we read protected password excel file (.xls) with POI API" New topic
Author

How can we read protected password excel file (.xls) with POI API

Theeranit Pongtongmuang
Greenhorn

Joined: May 17, 2009
Posts: 19
I've just learned POI and find the HSSF is very simple to read and create excel file (.xls). However, I found some problem when want to read excel protected with password. It took me an hour to find this solution on internet.

Please could you help me to solve this problem. I'm very glad if you could give me a code snippet.

Thank you.
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12953
    
    3

Someone else asked (almost) the same question a few days ago. Unfortunately there are no replies there either...


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
I posted a reply in the other topic; let us know how you make out in case you try that.


Android appsImageJ pluginsJava web charts
Theeranit Pongtongmuang
Greenhorn

Joined: May 17, 2009
Posts: 19
Thank you for your reply.
However, I didn't find reply about read protected password excel file (.xls) with POI API in other topic.
I'm looking forward to your help.

Thanks
 
jQuery in Action, 2nd edition
 
subject: How can we read protected password excel file (.xls) with POI API
 
Similar Threads
POI library unstable in Linux
Opening Password Protected Excel Documents
Detect filter in excel sheet using Apache POI
Opening an Excel file
want to generate password protected excel file