TableObject Properties (Excel)


Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.




Specifies if the column widths are automatically adjusted for the best fit each time you refresh the specified query table. The default value is True. Boolean Read/Write


Returns an Application object that represents the Microsoft Excel application. Read-only.


Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.


Returns the cell in the upper-left corner of the query table destination range (the range where the resulting query table will be placed). The destination range must be on the worksheet that contains the TableObject object. Range. Read-only


True if the user can edit the specified query table. False if the user can only refresh the query table. Boolean Read/Write


Specifies if the query table can be refreshed by the user. Boolean Read/Write


Specifies if the number of rows returned by the last use of the Refresh method is greater than the number of rows available on the worksheet. Boolean Read-only


Returns a ListObject Object (Excel) object for the TableObject Object (Excel) object. Read-only


Returns an Object that represents the parent object of the specified TableObject Object (Excel) object. Read-only.


Specifies if column sorting, filtering, and layout information is preserved whenever a query table is refreshed. The default value is False. Boolean Read/Write


True if any formatting common to the first five rows of data are applied to new rows of data in the query table. Unused cells aren’t formatted. The property is False if the last AutoFormat applied to the query table is applied to new rows of data. The default value is True. Boolean Read/Write


Returns or sets the way rows on the specified worksheet are added or deleted to accommodate the number of rows in a record set returned by a query. XlCellInsertionMode Enumeration (Excel) Read/Write


Returns a Range Object (Excel) object that represents the area of the worksheet occupied by the specified query table. Read-only


Specifies if row numbers are added as the first column of the specified query table. Boolean Read/Write


Returns the WorkbookConnection Object (Excel) used by the TableObject for connecting to the model. The WorkbookConnection.ModelConnection Property (Excel) property on the WorkbookConnection object can then be used to get to and edit DAX etc. Read-only