編輯

共用方式為


UserAccess Interface

Definition

Represents the user access for a protected range.

public interface class UserAccess
[System.Runtime.InteropServices.Guid("0002446D-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface UserAccess
Public Interface UserAccess
Attributes

Remarks

Use the Add(String, Boolean) method or the Item[Object] property of the UserAccessList collection to return a UserAccess object.

Once a UserAccess object is returned, you can determine if access is allowed for a particular range in a worksheet, using the AllowEdit property.

Properties

AllowEdit

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

Name

Returns the name of the object.

Methods

Delete()

Deletes the object.

Applies to