Protection.AllowInsertingColumns Property

Returns True if the insertion 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 AllowInsertingColumns As Boolean
    Get
'Usage
Dim instance As Protection
Dim value As Boolean

value = instance.AllowInsertingColumns
bool AllowInsertingColumns { get; }

Property Value

Type: System.Boolean

Remarks

An inserted column inherits its formatting (by default) from the column to its left, which means that it may have locked cells. In other words, users may not be able to delete columns that they have inserted.

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

See Also

Reference

Protection Interface

Protection Members

Microsoft.Office.Interop.Excel Namespace