Share via


Protection.AllowInsertingRows Property 

Returns True if the insertion of rows 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.AllowInsertingRows

Syntax

ReadOnly Property AllowInsertingRows() As Boolean
bool AllowInsertingRows {get;}
property Boolean AllowInsertingRows{
    Boolean get();
}
public boolean get_AllowInsertingRows();
function get AllowInsertingRows() : Boolean;

Remarks

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

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Protection Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

Protection Members