Partager via


IPublishObjects.Add Method

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

Syntax

'Declaration
Function Add ( _
    SourceType As XlSourceType, _
    Filename As String, _
    Sheet As Object, _
    Source As Object, _
    HtmlType As Object, _
    DivID As Object, _
    Title As Object _
) As PublishObject
'Usage
Dim instance As IPublishObjects
Dim SourceType As XlSourceType
Dim Filename As String
Dim Sheet As Object
Dim Source As Object
Dim HtmlType As Object
Dim DivID As Object
Dim Title As Object
Dim returnValue As PublishObject

returnValue = instance.Add(SourceType, _
    Filename, Sheet, Source, HtmlType, _
    DivID, Title)
PublishObject Add(
    XlSourceType SourceType,
    string Filename,
    Object Sheet,
    Object Source,
    Object HtmlType,
    Object DivID,
    Object Title
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.PublishObject

See Also

Reference

IPublishObjects Interface

IPublishObjects Members

Microsoft.Office.Interop.Excel Namespace