'DeclarationPublic Overloads Function Add( _ ByVal tableName As String, _ ByVal startCellAddress As String, _ ByVal endCellAddress As String, _ Optional ByVal tableStyle As TableStyle, _ Optional ByVal showHeaderRow As Boolean _ ) As Table
'UsageDim instance As TableCollection Dim tableName As String Dim startCellAddress As String Dim endCellAddress As String Dim tableStyle As TableStyle Dim showHeaderRow As Boolean Dim value As Table value = instance.Add(tableName, startCellAddress, endCellAddress, tableStyle, showHeaderRow)
public Table Add( string tableName, string startCellAddress, string endCellAddress, TableStyle tableStyle, bool showHeaderRow )
Parameters
- tableName
- The name of the table.
- startCellAddress
- The top-left cell of the range of cells that defines the table.
- endCellAddress
- The bottom-right cell of the range of cells that defines the table.
- tableStyle
- The built-in style used to format the new table. The default style is TableStyleLight9.
- showHeaderRow
- Determines if the header row should be displayed. The default setting is true.
Return Value
The Table added to the TableCollection.