ProtectedRange class

A specified range to be allowed to edit when the sheet protection is ON.

public class ProtectedRange


Name Description
CellArea { get; } Gets the CellArea object represents the cell area to be protected.
Name { get; set; } Gets the Range title. This is used as a descriptor, not as a named range definition.
Password { get; set; } Represents the password to protect the range.
SecurityDescriptor { get; set; } The security descriptor defines user accounts who may edit this range without providing a password to access the range.


Name Description
AddArea(int, int, int, int) Adds a referred area to this
GetAreas() Gets all referred areas.

See Also