Hi EveryOne,
Is it possible to protect an excel sheet with password and using Jexcel?
If any one have any idea or worked on this area, then please reply to this discussion thread.
If not possible through Jexcel, then any other toll which could make it done?
Manoj
Hi,
Of course it's possible to set a password using JExcel. There is the setPassword(String) method in Workbook class for this purpose: http://www.teamdev.com/downloads/jexcel/javadoc/com/jniwrapper/win32/jexcel/GenericWorkbook.html The same method also exists in JWorkbook component.
It's also possible to protecte a worksheet with a password using Worksheet.protect(String) method: http://www.teamdev.com/downloads/jexcel/javadoc/com/jniwrapper/win32/jexcel/Worksheet.html#protect%28java.lang.String%29
-Serge