ProtectedRange class

ProtectedRange class

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

The ProtectedRange type exposes the following members:

Properties

PropertyDescription
nameGets the Range title. This is used as a descriptor, not as a named range definition.
cell_areaGets the ProtectedRange.cell_area object represents the cell area to be protected.
is_protected_with_passwordIndicates whether the worksheets is protected with password.
passwordRepresents the password to protect the range.
security_descriptorThe security descriptor defines user accounts who may edit this range without providing a password to access the range.

Methods

MethodDescription
get_areasGets all referred areas.
add_areaAdds a referred area to this

See Also