poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mac Bhyat" <m...@unibase.co.za>
Subject Password Protect Workbook
Date Wed, 26 Apr 2006 10:46:02 GMT
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

Mime
View raw message