EasyXLS http://forum.easyxls.com/ |
|
Lock sheet with password http://forum.easyxls.com/viewtopic.php?f=5&t=53 |
Page 1 of 1 |
Author: | naikon [ Fri Jul 13, 2007 8:50 am ] |
Post subject: | Lock sheet with password |
how i can lock worksheet with password ? |
Author: | daniela [ Mon Jul 16, 2007 2:59 am ] |
Post subject: | |
If you need to protect a worksheet with a password, you cannot do this directly. But you can create an xls template with the password added, and maybe other default data and formatting, use ExcelDocument.easy_LoadTemplateFile method to load the file, then update the file by adding more data to it for example, and finaly save back the file using ExcelDocument.easy_WriteExcelFile method. See Tutorial9 from the manual, chapter EasyXLS Basics/Import Files/Import from xls Files. EasyXLS tries to preserve as many as possible unknown features when a file is loaded. The password is one of them. |
Page 1 of 1 | All times are UTC - 4 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |