Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AllowInsertingColumns Property

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)

'Usage
Dim protection1 As Protection

Dim returnValue As Boolean
returnValue = protection1.AllowInsertingColumns

bool AllowInsertingColumns {get;}
public boolean get_AllowInsertingColumns();
function get AllowInsertingColumns() : Boolean;

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft