Hi,

I tried to protect workbook using the below code,


 HSSFWorkbook workbook = new HSSFWorkbook();
 workbook.writeProtectWorkbook("Mahaveer","");

But this is not working. Can anybody please let me know how it will work.

I am protecting the workbook so Hidden sheets gets protected and for
unprotection, password would require.

Thanks in Advance

Regards
Mahaveer



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Protect-workbook-in-POI-tp5713807.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to