Compartilhar via


_QueryTable Interface

Represents a worksheet table built from data returned from an external data source, such as a SQL server or a Microsoft Access database. The QueryTable object is a member of the QueryTables collection.

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

Syntax

'Declaration
<GuidAttribute("00024428-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface _QueryTable
'Usage
Dim instance As _QueryTable
[GuidAttribute("00024428-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface _QueryTable

Remarks

Use QueryTables(index), where index is the index number of the query table, to return a single QueryTable object.

See Also

Reference

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace