Share via


PivotTable.RowFields Property

Returns an object that represents either a single field in a PivotTable report (a PivotField object) or a collection of all the fields (a PivotFields object) that are currently showing as row fields. Read-only.

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

Syntax

'Declaration
ReadOnly Property RowFields ( _
    Index As Object _
) As Object
    Get
'Usage
Dim instance As PivotTable
Dim Index As Object
Dim value As Object

value = instance.RowFields(Index)
Object this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Optional Object. The name or number of the field to be returned (can be an array to specify more than one field).

Property Value

Type: System.Object

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace