Static
$tStatic
nextGets the number of tables in the collection. The number of tables in the collection.
Formats a region as a table and adds an associated WorksheetTable to the collection.
When the table is created, the specified 'tableStyle' will be applied to the value.
When the table is created, the column names will be taken from the cells in the header row if 'tableHasHeaders' is True. If it is False, the column names will be generated and the cells for the header row will be inserted into the worksheet.
The column names are unique within the owning WorksheetTable. If, when the table is created, there are two or more columns with the same name, the second and subsequent duplicate column names will have a number appended to make them unique. If any cells in the header row have a non-string value, their value will be changed to a string (the current display text of the cell). If any cells in the header row have no value, they will be given a generated column name.
If the region partially contains any merged cell regions, they will be removed from the worksheet and the table region will be expanded to include all cells from the merged region.
InvalidOperationException The owning worksheet has been removed from its workbook.
ArgumentNullException 'region' is null or empty.
ArgumentException 'region' is not a valid region address in the workbook's cell reference mode.
ArgumentException The specified 'tableStyle' does not exist in the Workbook.customTableStyles or Workbook.standardTableStyles collections.
InvalidOperationException The region contains one or more cells from another WorksheetTable.
InvalidOperationException The region contains one or more cells which have a multi-cell ArrayFormula applied.
InvalidOperationException The region contains one or more cells which are part of a WorksheetDataTable.
The WorksheetTable created the represent the formatted table for the region.
The region to format as a table.
A value which indicates whether the top row of the region contains the headers for the table.
The WorksheetTableStyle to apply to the table or null to use the Workbook.defaultTableStyle.
Determines whether the specified WorksheetTable is in the collection.
True if the WorksheetTable is in the collection; False otherwise.
The WorksheetTable to find in the collection.
Determines whether a WorksheetTable with the specified name is in the collection.
Table names are compared case-insensitively.
True if a WorksheetTable with the specified name is in the collection; False otherwise.
The name of the WorksheetTable to find.
Gets the index of the specified WorksheetTable in the collection.
The 0-based index of the specified WorksheetTable in the collection or -1 if the item is not in the collection.
The WorksheetTable to find in the collection.
Gets the WorksheetTable at the specified index. The WorksheetTable at the specified index.
ArgumentOutOfRangeException 'index' is less than zero or 'index' is greater than or equal to count.
The zero-based index of the WorksheetTable to get.
Gets the WorksheetTable with the specified name.
Worksheet names are compared case-insensitively.
The WorksheetTable with the specified name.InvalidOperationException A WorksheetTable with the specified name does not exist in the collection.
The name of the WorksheetTable to get.
Removes the WorksheetTable at the specified index.
ArgumentOutOfRangeException 'index' is less than 0 or greater than or equal to count.
The 0-based index of the WorksheetTable to remove.
True to apply the table style formatting to the cells
Removes the WorksheetTable from the collection.
True if the WorksheetTable was found and removed; False otherwise.
The WorksheetTable to remove from the collection.
True to apply the table style formatting to the cells
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
referenceStatic
static
The collection of WorksheetTable instances on a Worksheet.
See
Worksheet.tables