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)

public interface QueryTables : IEnumerable

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.