IPivotTable.AddFields Method

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

Syntax

'Declaration
Function AddFields ( _
    RowFields As Object, _
    ColumnFields As Object, _
    PageFields As Object, _
    AddToTable As Object _
) As Object
'Usage
Dim instance As IPivotTable
Dim RowFields As Object
Dim ColumnFields As Object
Dim PageFields As Object
Dim AddToTable As Object
Dim returnValue As Object

returnValue = instance.AddFields(RowFields, _
    ColumnFields, PageFields, AddToTable)
Object AddFields(
    Object RowFields,
    Object ColumnFields,
    Object PageFields,
    Object AddToTable
)

Parameters

Return Value

Type: System.Object

See Also

Reference

IPivotTable Interface

IPivotTable Members

Microsoft.Office.Interop.Excel Namespace