Syntax

expression.Destination

expression A variable that represents a QueryTable object.

Example

This example scrolls through the active window until the upper-left corner of query table one is in the upper-left corner of the window.

Visual Basic for Applications
Set d = Worksheets(1).QueryTables(1).Destination With ActiveWindow .ScrollColumn = d.Column .ScrollRow = d.Row End With
destination destination property Find out where the results of a query will be placed? Obtain the upper left cell of the destination range for a query table? Read query destination?

See also: