From 4c46e9592f90df13dbc1297d5c967eab8ae78a6b Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Fri, 17 Oct 2025 15:33:00 +0530 Subject: [PATCH] 986746-LockedCellsBehavior --- Document-Processing/Excel/Excel-Library/NET/Security.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document-Processing/Excel/Excel-Library/NET/Security.md b/Document-Processing/Excel/Excel-Library/NET/Security.md index 750b28c5b..956768c09 100644 --- a/Document-Processing/Excel/Excel-Library/NET/Security.md +++ b/Document-Processing/Excel/Excel-Library/NET/Security.md @@ -699,4 +699,6 @@ End Using N> Security features are now supported in .NET Standard 1.4 onwards. +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. + 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).