Compartilhar via


QueryTables Interface

A collection of QueryTable objects. Each QueryTable object represents a worksheet table built from data returned from an external data source.

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

Syntax

'Declaration
<GuidAttribute("00024429-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface QueryTables _
    Inherits IEnumerable
'Usage
Dim instance As QueryTables
[GuidAttribute("00024429-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface QueryTables : IEnumerable

Remarks

Use the QueryTables property to return the QueryTables collection.

Use the Add method to create a new query table and add it to the QueryTables collection.

See Also

Reference

QueryTables Members

Microsoft.Office.Interop.Excel Namespace