Partager via


Protection.AllowDeletingRows Property

Returns True if the deletion of rows is allowed on a protected worksheet.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property AllowDeletingRows As Boolean
    Get
'Usage
Dim instance As Protection
Dim value As Boolean

value = instance.AllowDeletingRows
bool AllowDeletingRows { get; }

Property Value

Type: System.Boolean

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.

See Also

Reference

Protection Interface

Protection Members

Microsoft.Office.Interop.Excel Namespace