ProtectedRange Class

ProtectedRange class

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


type ProtectedRange struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetNameGets the Range title. This is used as a descriptor, not as a named range definition.
SetNameGets the Range title. This is used as a descriptor, not as a named range definition.
GetCellAreaGets the object represents the cell area to be protected.
AddAreaAdds a referred area to this
IsProtectedWithPasswordIndicates whether the worksheets is protected with password.
GetPasswordRepresents the password to protect the range.
SetPasswordRepresents the password to protect the range.
GetSecurityDescriptorThe security descriptor defines user accounts who may edit this range without providing a password to access the range.
SetSecurityDescriptorThe security descriptor defines user accounts who may edit this range without providing a password to access the range.