UserAccessList.Add(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.