Share via


AllowEditRange.ChangePassword Method

Changes the password for 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
Sub ChangePassword ( _
    Password As String _
)
'Usage
Dim instance As AllowEditRange
Dim Password As String

instance.ChangePassword(Password)
void ChangePassword(
    string Password
)

Parameters

  • Password
    Type: System.String

    Required String. The new password.

See Also

Reference

AllowEditRange Interface

AllowEditRange Members

Microsoft.Office.Interop.Excel Namespace