Protection.AllowSorting Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns True if the sorting option is allowed on a protected worksheet.
public:
property bool AllowSorting { bool get(); };
public bool AllowSorting { get; }
Public ReadOnly Property AllowSorting As Boolean
Property Value
Remarks
In a protected worksheet, sorting can only be performed on unlocked or unprotected cells.
The AllowSorting property can be set by using the Protect(Object, Object, Object) method arguments.