Skip to content

Commit fa2ac36

Browse files
986746-LockedCellsBehavior
1 parent 644cc10 commit fa2ac36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Document-Processing/Excel/Excel-Library/NET/Security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,4 +699,6 @@ End Using
699699

700700
N> Security features are now supported in .NET Standard 1.4 onwards.
701701

702+
N> By default, all cells in an Excel worksheet have the Locked property set to true. This property only takes effect when the worksheet is protected. To allow edits in specific cells, you must explicitly set the Locked property to false before applying protection. Once the sheet is protected, only the unlocked cells remain editable. However, ExcelEngine will allow editing cells programmatically even though the worksheet is protected.
703+
702704
A complete working example to protect a cell in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/XlsIO-Excel-Protect-UnProtect/Locked-Cells/.NET/Locked-Cells).

0 commit comments

Comments
 (0)