PivotTable.GetPivotData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Range object with information about a data item in a PivotTable report.
public Microsoft.Office.Interop.Excel.Range GetPivotData (object DataField, object Field1, object Item1, object Field2, object Item2, object Field3, object Item3, object Field4, object Item4, object Field5, object Item5, object Field6, object Item6, object Field7, object Item7, object Field8, object Item8, object Field9, object Item9, object Field10, object Item10, object Field11, object Item11, object Field12, object Item12, object Field13, object Item13, object Field14, object Item14);
Public Function GetPivotData (Optional DataField As Object, Optional Field1 As Object, Optional Item1 As Object, Optional Field2 As Object, Optional Item2 As Object, Optional Field3 As Object, Optional Item3 As Object, Optional Field4 As Object, Optional Item4 As Object, Optional Field5 As Object, Optional Item5 As Object, Optional Field6 As Object, Optional Item6 As Object, Optional Field7 As Object, Optional Item7 As Object, Optional Field8 As Object, Optional Item8 As Object, Optional Field9 As Object, Optional Item9 As Object, Optional Field10 As Object, Optional Item10 As Object, Optional Field11 As Object, Optional Item11 As Object, Optional Field12 As Object, Optional Item12 As Object, Optional Field13 As Object, Optional Item13 As Object, Optional Field14 As Object, Optional Item14 As Object) As Range
Parameters
- DataField
- Object
Optional Object. The name of the field containing the data for the PivotTable.
- Field1
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item1
- Object
Optional Object. The name of an item in Field1
.
- Field2
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item2
- Object
Optional Object. The name of an item in Field2
.
- Field3
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item3
- Object
Optional Object. The name of an item in Field3
.
- Field4
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item4
- Object
Optional Object. The name of an item in Field4
.
- Field5
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item5
- Object
Optional Object. The name of an item in Field5
.
- Field6
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item6
- Object
Optional Object. The name of an item in Field6
.
- Field7
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item7
- Object
Optional Object. The name of an item in Field7
.
- Field8
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item8
- Object
Optional Object. The name of an item in Field8
.
- Field9
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item9
- Object
Optional Object. The name of an item in Field9
.
- Field10
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item10
- Object
Optional Object. The name of an item in Field10
.
- Field11
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item11
- Object
Optional Object. The name of an item in Field11
.
- Field12
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item12
- Object
Optional Object. The name of an item in Field12
.
- Field13
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item13
- Object
Optional Object. The name of an item in Field13
.
- Field14
- Object
Optional Object. The name of a column or row field in the PivotTable report.
- Item14
- Object
Optional Object. The name of an item in Field14
.