QueryTables Property

         Example         Applies To

Returns the QueryTables collection that represents all the query tables on the specified worksheet. Read-only.

For more information about returning a single object from a collection, see Returning an Object from a Collection.