This documentation is archived and is not being maintained.

Range.QueryTable Property

Office 2007
Returns a QueryTable object that represents the query table that intersects the specified Range object.

Syntax

expression.QueryTable

expression   A variable that represents a Range object.

Example

This example refreshes the QueryTable object that intersects cell A10 on worksheet one.

Visual Basic for Applications
Worksheets(1).Range("a10").QueryTable.Refresh



Show: