Version

WorksheetProtectedRange Class Members

The following tables list the members exposed by WorksheetProtectedRange.

Public Constructors
 NameDescription
Public ConstructorWorksheetProtectedRange ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyHasPasswordReturns true if the range has a password associated with it.  
Public PropertyIsProtectedReturns a boolean indicating if the range is currently locked.  
Public PropertyRangesReturns a collection of ranges that may be edited when the worksheet is protected.  
Public PropertySecurityDescriptorReturns or sets the security descriptor used to define permissions for accounts that may edit the associated range without a password.  
Public PropertyTitleReturns or sets the name of the range.  
Public PropertyWorksheetReturns the worksheet with which the edit range is associated.  
Public Methods
 NameDescription
Public MethodSetPasswordOverloaded. Sets the password required to unlock the associated range of cells.  
Public MethodSetSecurityDescriptorSets the SecurityDescriptor property from the specified user accounts  
Public MethodUnprotectOverloaded. Attempts to use the specified password to unlock the range.  
See Also