TableObject Members (Excel)

Office 2013

Represents a worksheet table built from data returned from a PowerPivot model.

Name

Description

Delete

Deletes the TableObject object.

Refresh

This method updates the TableObject object.

Name

Description

AdjustColumnWidth

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

Application

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

Creator

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

Destination

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

EnableEditing

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

EnableRefresh

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

FetchedRowOverflow

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

ListObject

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

Parent

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

PreserveColumnInfo

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

PreserveFormatting

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

RefreshStyle

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

ResultRange

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

RowNumbers

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

WorkbookConnection

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

Show:
© 2015 Microsoft