Skip to main content

Range.QueryTable property

Table of contents
  1. Syntax
  2. Example

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.

Worksheets(1).Range("a10").QueryTable.Refresh

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>