Partager via


WorkbookClass.Password Property

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Public Overridable Property Password As String
    Get
    Set
'Usage
Dim instance As WorkbookClass
Dim value As String

value = instance.Password

instance.Password = value
public virtual string Password { get; set; }

Property Value

Type: System.String

Implements

_Workbook.Password

See Also

Reference

WorkbookClass Class

WorkbookClass Members

Microsoft.Office.Interop.Excel Namespace