Modifica

Condividi tramite


QueryTables Interface

Definition

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

public interface class QueryTables : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024429-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface QueryTables : System.Collections.IEnumerable
Public Interface QueryTables
Implements IEnumerable
Attributes
Implements

Remarks

Use the QueryTables property to return the QueryTables collection.

Use the Add(Object, Range, Object) method to create a new query table and add it to the QueryTables collection.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Count

Returns the number of objects in the collection. Read-only Integer.

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.

Parent

Returns the parent object for the specified object. Read-only.

Methods

Add(Object, Range, Object)

Creates a new query table. Returns a QueryTable object that represents the new query table.

GetEnumerator()
Item(Object)

Returns a single object from a collection.

Applies to