Partager via


IQueryTables.Add Method

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

Syntax

'Declaration
Function Add ( _
    Connection As Object, _
    Destination As Range, _
    Sql As Object _
) As QueryTable
'Usage
Dim instance As IQueryTables
Dim Connection As Object
Dim Destination As Range
Dim Sql As Object
Dim returnValue As QueryTable

returnValue = instance.Add(Connection, _
    Destination, Sql)
QueryTable Add(
    Object Connection,
    Range Destination,
    Object Sql
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.QueryTable

See Also

Reference

IQueryTables Interface

IQueryTables Members

Microsoft.Office.Interop.Excel Namespace