This documentation is archived and is not being maintained.

UserAccess.AllowEdit Property 

True if the user is allowed access to the specified range on a protected worksheet.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim userAccess1 As UserAccess

Dim returnValue As Boolean
returnValue = userAccess1.AllowEdit

Dim sampleValue As Boolean
userAccess1.AllowEdit = sampleValue

bool AllowEdit {get; set;}
public boolean get_AllowEdit();
public void set_AllowEdit(boolean);
function get AllowEdit() : Boolean;
function set AllowEdit(Boolean);

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