Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.41 KB

Excel.QueryTable.FillAdjacentFormulas.md

File metadata and controls

45 lines (26 loc) · 1.41 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
QueryTable.FillAdjacentFormulas property (Excel)
vbaxl10.chm518076
vbaxl10.chm518076
Excel.QueryTable.FillAdjacentFormulas
513a9218-a0b9-2bf6-ebac-1d9e7bb594df
05/03/2019
medium

QueryTable.FillAdjacentFormulas property (Excel)

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 by 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 by 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.

Sheets("sheet1").QueryTables(1).FillAdjacentFormulas = True

[!includeSupport and feedback]