Hi,
we need to protect entire work bok. Is there any option to protect at workbbok level rather than sheet level.
Thanks
Suresh
Hi,
we need to protect entire work bok. Is there any option to protect at workbbok level rather than sheet level.
Thanks
Suresh
Hi Suresh,
May the following code help you for your need:
Workbook workbook = new Workbook();
workbook.Password = "007";
workbook.Worksheets[0].Cells["A1"].PutValue("Hello World!");
workbook.Save("d:\\test\\protectedfile1.xls");