QueryTables Object
Excel Developer Reference |
A collection of QueryTable objects.
Remarks
Each QueryTable object represents a worksheet table built from data returned from an external data source.
Example
Use the QueryTables property to return the QueryTables collection. The following example displays the number of query tables on the active worksheet.
Visual Basic for Applications |
---|
|
Use the Add method to create a new query table and add it to the QueryTables collection. The following example creates a new query table.
Visual Basic for Applications |
---|
|
See Also