共用方式為


XmlMappedRange.Table Method

Creates a data table based on input values and formulas that you define on a worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Function Table ( _
    RowInput As Object, _
    ColumnInput As Object _
) As Object
Object Table(
    Object RowInput,
    Object ColumnInput
)

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

Remarks

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.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace