Share via


UserAccess Interface

Represents the user access for a protected range.

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

Syntax

'Declaration
<GuidAttribute("0002446D-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface UserAccess
'Usage
Dim instance As UserAccess
[GuidAttribute("0002446D-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface UserAccess

Remarks

Use the Add method or the Item 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.

See Also

Reference

UserAccess Members

Microsoft.Office.Interop.Excel Namespace