Hi,
 
I would like to password protect a workbook created with POI using the high level HSSFWorkBook. I saw in the docs that there is a Password record that you can add to a low level workbook object, but I was hoping there was a better way (less complicated). If someone has done this, please could you send me some sample code.
 
I was thinking of maybe running a macro within the created workbook to set the password, but I'm not sure how to embed macros into a created workbook using POI. Or run macros in a opened workbook via POI
 
Any suggestions
 
Thanks

Mac
-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to