Protection.AllowInsertingColumns Property

Definition

Returns True if the insertion of columns is allowed on a protected worksheet.

public:
 property bool AllowInsertingColumns { bool get(); };
public bool AllowInsertingColumns { get; }
Public ReadOnly Property AllowInsertingColumns As Boolean

Property Value

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(Object, Object, Object) method arguments.

Applies to