Share via


Protection.AllowDeletingColumns Property

Returns True if the deletion of columns 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 AllowDeletingColumns As Boolean
    Get
'Usage
Dim instance As Protection
Dim value As Boolean

value = instance.AllowDeletingColumns
bool AllowDeletingColumns { get; }

Property Value

Type: System.Boolean

Remarks

The AllowDeletingColumns property can be set by using the Protect method arguments.

The columns 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