Version

AllowedEditRanges Property

Returns a collection of WorksheetProtectedRange instances that define which locked ranges of cells may be edited in a protected worksheet.
Syntax
public WorksheetProtectedRangeCollection AllowedEditRanges {get;}
Remarks

When a Worksheet is protected the only cells that may be edited are those whose IWorksheetCellFormat.Locked property has been set to false. All other cells are not editable by default. One can make additional cells or ranges of cells editable via this collection. The WorksheetProtectedRange instances specify the range to which it applies and optionally a password that may be used to unlock that range.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also