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.String

    Optional Object. The password for the range.

Return Value

Type: Microsoft.Office.Interop.Excel.AllowEditRange

See Also

Reference

AllowEditRanges Interface

AllowEditRanges Members

Microsoft.Office.Interop.Excel Namespace