IListObjects.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
SourceType As XlListObjectSourceType, _
Source As Object, _
LinkSource As Object, _
XlListObjectHasHeaders As XlYesNoGuess, _
Destination As Object _
) As ListObject
'Usage
Dim instance As IListObjects
Dim SourceType As XlListObjectSourceType
Dim Source As Object
Dim LinkSource As Object
Dim XlListObjectHasHeaders As XlYesNoGuess
Dim Destination As Object
Dim returnValue As ListObject
returnValue = instance.Add(SourceType, _
Source, LinkSource, XlListObjectHasHeaders, _
Destination)
ListObject Add(
XlListObjectSourceType SourceType,
Object Source,
Object LinkSource,
XlYesNoGuess XlListObjectHasHeaders,
Object Destination
)
Parameters
- SourceType
Type: Microsoft.Office.Interop.Excel.XlListObjectSourceType
- Source
Type: System.Object
- LinkSource
Type: System.Object
- XlListObjectHasHeaders
Type: Microsoft.Office.Interop.Excel.XlYesNoGuess
- Destination
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.ListObject