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
- SourceType
Type: Microsoft.Office.Interop.Excel.XlSourceType
- Filename
Type: System.String
- Sheet
Type: System.Object
- Source
Type: System.Object
- HtmlType
Type: System.Object
- DivID
Type: System.Object
- Title
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.PublishObject