Edit

Share via


PivotField.DataRange Property

Definition

Returns a Range object. Read-only.

public:
 property Microsoft::Office::Interop::Excel::Range ^ DataRange { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range DataRange { get; }
Public ReadOnly Property DataRange As Range

Property Value

Remarks

The DataRange property returns the following, depending on the object:

Data fieldData contained in the field
Row, column, or page fieldItems in the field
ItemData qualified by the item

Applies to