NamedRange::Table Method (Object^, Object^)
Creates a data table based on input values and formulas that you define in a worksheet.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Parameters
- RowInput
-
Type:
System::Object^
A single cell to use as the row input for your table.
- ColumnInput
-
Type:
System::Object^
A single cell to use as the column input for your table.
Return Value
Type: System::Object^Use data tables to perform a what-if analysis by changing certain constant values on your worksheet to see how values in other cells are affected.
For information on optional parameters, see Optional Parameters in Office Solutions.
The following code example uses the Table method to create a formatted multiplication table in a NamedRange.
This example is for a document-level customization.
Show: