You can set password using org.apache.poi.hssf.record.PasswordRecord using the method setPassword. Hope so it would help.
Jaish ----- Original Message ----- From: "Daniel Carnes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 9:46 PM Subject: newbie > I am new to POI, and I need some help finding out the best way to password > protect an excel workbook. I have used all of the examples and looked in > the javadocs, but none of the hssf examples mention how to do this. Any help > would be greatly appreciated. > > Thanks > Daniel Carnes > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > >
