Version

AllowedEditRanges Property

Returns a collection of WorksheetProtectedRange instances that define which locked ranges of cells may be edited in a protected worksheet.
Syntax
'Declaration
 
Public ReadOnly Property AllowedEditRanges As WorksheetProtectedRangeCollection
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: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also