AllowEditRanges.Add Method
Adds a range that can be edited on a protected worksheet.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Title As String, _
Range As Range, _
Password As Object _
) As AllowEditRange
'Usage
Dim instance As AllowEditRanges
Dim Title As String
Dim Range As Range
Dim Password As Object
Dim returnValue As AllowEditRange
returnValue = instance.Add(Title, Range, _
Password)
AllowEditRange Add(
string Title,
Range Range,
Object Password
)
Parameters
Title
Type: System.StringOptional Object. The password for the range.
Range
Type: Microsoft.Office.Interop.Excel.RangeRequired String. The title of range.
Password
Type: System.ObjectRequired Range object. The range allowed to be edited.
Return Value
Type: Microsoft.Office.Interop.Excel.AllowEditRange