Protection.AllowSorting Property
Excel Developer Reference |
Returns True if the sorting option is allowed on a protected worksheet. Read-only Boolean.
Syntax
expression.AllowSorting
expression A variable that represents a Protection object.
Remarks
Sorting can only be performed on unlocked or unprotected cells in a protected worksheet.
The AllowSorting property can be set by using the Protect method arguments.
Example
This example allows the user to sort unlocked or unprotected cells on the protected worksheet and notifies the user.
Visual Basic for Applications |
---|
|
See Also