QueryTables Members

Include Protected Members
Include Inherited Members

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

The QueryTables type exposes the following members.

Properties

  Name Description
Public property _Default Reserved for internal use.
Public property Application Returns an Application object that represents the Microsoft Excel application. Read-only.
Public property Count Returns the number of objects in the collection. Read-only Integer.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.
Public property Parent Returns the parent object for the specified object. Read-only.

Top

Methods

  Name Description
Public method Add Creates a new query table. Returns a QueryTable object that represents the new query table.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item Returns a single object from a collection.

Top

See Also

Reference

QueryTables Interface

Microsoft.Office.Interop.Excel Namespace