Protection.AllowDeletingRows Property
Excel Developer Reference |
Returns True if the deletion of rows is allowed on a protected worksheet. Read-only Boolean.
Syntax
expression.AllowDeletingRows
expression A variable that represents a Protection object.
Remarks
The AllowDeletingRows property can be set by using the Protect method arguments.
The rows containing the cells to be deleted must be unlocked when the sheet is protected.
Example
This example unlocks row 1 then allows the user to delete row 1 on the protected worksheet and notifies the user.
Visual Basic for Applications |
---|
|
See Also