This project has moved. For the latest updates, please go here.

Comments Protection

Protection.jpg

            var wb = new XLWorkbook();
            var ws = wb.Worksheets.Add("Protection");

            ws.Cell("A1").Comment.Style
                .Protection.SetLocked(false)
                .Protection.SetLockText(false);

            wb.SaveAs("CommentsProtection.xlsx");

Last edited Jan 2, 2012 at 4:00 AM by MDeLeon, version 2