Partager via


WorkbookClass.ProtectSharingEx Method

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

Syntax

'Declaration
Public Overridable Sub ProtectSharingEx ( _
    Filename As Object, _
    Password As Object, _
    WriteResPassword As Object, _
    ReadOnlyRecommended As Object, _
    CreateBackup As Object, _
    SharingPassword As Object, _
    FileFormat As Object _
)
'Usage
Dim instance As WorkbookClass
Dim Filename As Object
Dim Password As Object
Dim WriteResPassword As Object
Dim ReadOnlyRecommended As Object
Dim CreateBackup As Object
Dim SharingPassword As Object
Dim FileFormat As Object

instance.ProtectSharingEx(Filename, Password, _
    WriteResPassword, ReadOnlyRecommended, _
    CreateBackup, SharingPassword, FileFormat)
public virtual void ProtectSharingEx(
    Object Filename,
    Object Password,
    Object WriteResPassword,
    Object ReadOnlyRecommended,
    Object CreateBackup,
    Object SharingPassword,
    Object FileFormat
)

Parameters

Implements

_Workbook.ProtectSharingEx(Object, Object, Object, Object, Object, Object, Object)

See Also

Reference

WorkbookClass Class

WorkbookClass Members

Microsoft.Office.Interop.Excel Namespace