UserAccessList.Add(String, Boolean) Method

Definition

Adds a user access list. Returns a UserAccess object.

public:
 Microsoft::Office::Interop::Excel::UserAccess ^ Add(System::String ^ Name, bool AllowEdit);
public Microsoft.Office.Interop.Excel.UserAccess Add (string Name, bool AllowEdit);
Public Function Add (Name As String, AllowEdit As Boolean) As UserAccess

Parameters

Name
String

Required String. The name of the user access list.

AllowEdit
Boolean

Required Boolean. True allows users on the access list to edit the editable ranges on a protected worksheet.

Returns

Applies to