Share via


QueryTable.FillAdjacentFormulas Property

Excel Developer Reference

True if formulas to the right of the specified query table are automatically updated whenever the query table is refreshed. Read/write Boolean.

Syntax

expression.FillAdjacentFormulas

expression   A variable that represents a QueryTable object.

Remarks

If you import data using the user interface, data from a Web query or a text query is imported as a QueryTable object, while all other external data is imported as a ListObject object.

If you import data using the object model, data from a Web query or a text query must be imported as a QueryTable, while all other external data can be imported as either a ListObject or a QueryTable.

The FillAdjacentFormulas property applies only to QueryTable objects.

Example

This example sets query table one so that formulas to the right of it are automatically updated whenever the query table is refreshed.

Visual Basic for Applications
  Sheets("sheet1").QueryTables(1).FillAdjacentFormulas = True

See Also