Syntax

expression.FieldNames

expression A variable that represents a QueryTable object.

Example

This example sets query table one so that the field names don't appear in it.

Visual Basic for Applications
Worksheets(1).QueryTables(1).FieldNames = False
Control column headings on returning data from a query? Enable display of column headings based on field names? field field names Field Names Property FieldNames fieldnames property

See also: